new site generated by poole

This commit is contained in:
Philipp Oppermann
2015-07-22 14:38:46 +02:00
parent 5afd95a22d
commit 5004c2cbe3
33 changed files with 991 additions and 859 deletions

27
_layouts/post.html Normal file
View File

@@ -0,0 +1,27 @@
---
layout: default
---
<article class="post">
<h1 class="post-title">{{ page.title }}</h1>
<time datetime="{{ page.date | date_to_xmlschema }}" class="post-date">{{ page.date | date_to_string }}</time>
{{ content }}
</article>
{% if site.related_posts != empty %}
<aside class="related">
<h2>Related Posts</h2>
<ul class="related-posts">
{% for post in site.related_posts limit:3 %}
<li>
<h3>
<a href="{{ site.baseurl }}{{ post.url }}">
{{ post.title }}
<small><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time></small>
</a>
</h3>
</li>
{% endfor %}
</ul>
</aside>
{% endif %}