nicojensen.de/_includes/blog.html

37 lines
No EOL
1.7 KiB
HTML

<div id="post-container">
{% for post in paginator.posts %}
<article class="post">
<header class="post-header wrapper">
<div class="post-title">
<h2 class="post-title"><a href="{{post.url}}" rel="bookmark">{{post.title}}</a></h2>
<p class="public-date">vom <time class="post-date" datetime="{{post.date | date: "%Y-%m-%d"}}">
{% assign m = post.date | date: "%-m" %}
{{ post.date | date: "%d" }}
{% case m %}
{% when '1' %}Januar
{% when '2' %}Februar
{% when '3' %}M&auml;rz
{% when '4' %}April
{% when '5' %}Mai
{% when '6' %}Juni
{% when '7' %}Juli
{% when '8' %}August
{% when '9' %}September
{% when '10' %}Oktober
{% when '11' %}November
{% when '12' %}Dezember
{% endcase %}
{{ post.date | date: "%Y" }}</time>
{% if post.external-url %}
&nbsp;|&nbsp;<a href="{{post.external-url}}">Org. Post</a>
{% endif %}
</p>
</div>
</header>
<div class="post-content wrapper">
{{post.content}}
</div>
</article>
{% endfor %}
</div>
{% include pagination.html %}