mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Formatting
This commit is contained in:
16
index.html
16
index.html
@@ -3,11 +3,13 @@ layout: default
|
|||||||
title: Home
|
title: Home
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="front-page-introduction">
|
<div class="front-page-introduction"><p>
|
||||||
<p>This blog series creates a small operating system in the <a href="https://www.rust-lang.org/">Rust programming language</a>.
|
This blog series creates a small operating system in the
|
||||||
Each post is a small tutorial and includes all needed code, so you can follow along if you
|
<a href="https://www.rust-lang.org/">Rust programming language</a>. Each post
|
||||||
like. The source code is also available in the corresponding <a href="https://github.com/phil-opp/blog_os">Github
|
is a small tutorial and includes all needed code, so you can follow along if
|
||||||
repository</a>.</p>
|
you like. The source code is also available in the corresponding
|
||||||
|
<a href="https://github.com/phil-opp/blog_os">Github repository</a>.
|
||||||
|
</p>
|
||||||
<p>Latest post: {% for post in site.posts limit:1 %}
|
<p>Latest post: {% for post in site.posts limit:1 %}
|
||||||
<strong><a href="#{{ post.id }}" onclick="
|
<strong><a href="#{{ post.id }}" onclick="
|
||||||
post = document.getElementById('{{ post.id }}');
|
post = document.getElementById('{{ post.id }}');
|
||||||
@@ -15,8 +17,8 @@ repository</a>.</p>
|
|||||||
post.offsetWidth = post.offsetWidth; // trigger reflow -> works on 2nd click, too
|
post.offsetWidth = post.offsetWidth; // trigger reflow -> works on 2nd click, too
|
||||||
post.className += ' updated';
|
post.className += ' updated';
|
||||||
">{{post.title}}</a></strong>
|
">{{post.title}}</a></strong>
|
||||||
{% endfor %}</p>
|
{% endfor %}
|
||||||
</div>
|
</p></div>
|
||||||
|
|
||||||
{% assign posts = site.posts | reverse %}
|
{% assign posts = site.posts | reverse %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user