-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog_de.html
27 lines (26 loc) · 1.02 KB
/
blog_de.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
layout: default
permalink: /blog/index_de.html
---
<p>
Englische Beiträge <a href="/blog/">einblenden</a> (show all English language posts).
</p>
<ul class="post-list-blog">
{% assign counter = -1 %}{% assign show_date = "" %}
{% for post in site.posts %}
{% if post.language == 'german' or post.language == 'deutsch' %}
{% assign counter = counter | plus: 1 %}{% assign counter = counter | plus: 1 %}{% assign this_date = post.date | date: "%B %Y" %}
{% if show_date != this_date %}{% assign show_date = this_date %}
<li><b>{{ show_date }}</b></li>
{% endif %}
<li>
<span class="counter">{{ counter | zeroize }}.</span> »
{% if post.language == 'german' or post.language == 'deutsch' %}
<img src="/images/de.gif" alt='[german]' title='[deutsch/german]' />
{% endif %}
<a class="postlink-blog" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
{% if post.front %}— {{ post.front }}{% endif %}
</li>
{% endif %}
{% endfor %}
</ul>