Files
blog_os/index.html
2015-08-25 17:22:07 +02:00

31 lines
780 B
HTML

---
layout: default
title: Home
---
<div class="newest-post">
<emph>Latest Post</emph>: {% for post in site.categories.rust-os limit:1 %}
<strong><a href="#{{ post.id }}">{{post.title}}</a></strong>
{% endfor %}
</div>
<div class="posts">
{% for post in site.categories.rust-os reversed %}
<article class="post" id="{{ post.id }}">
<h1 class="post-title">
<a href="{{ site.baseurl }}{{ post.url }}">
{{ post.title }}
</a>
</h1>
<time datetime="{{ post.date | date_to_xmlschema }}" class="post-date">{{ post.date | date_to_string }}</time>
{% if post.content contains '<!--more-->' %}
{{ post.content | split:'<!--more-->' | first }}
{% else %}
{{ post.excerpt }}
{% endif %}
</article>
<hr>
{% endfor %}
</div>