forked from opendata-stuttgart/www.dusti.xyz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (35 loc) · 1004 Bytes
/
index.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
28
29
30
31
32
33
34
35
36
---
layout: default
---
{% for post in site.posts %}
<div class="row" style="margin-top:20px;">
<div class="col-xs-12 article">
<h2>
<a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
<small>
{% assign m = post.date | date: "%-m" %}
{{ post.date | date: "%-d." }}
{% case m %}
{% when '1' %}Januar
{% when '2' %}Februar
{% when '3' %}Mä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" }}
</small>
</h2>
<p>
{{ post.content | strip_html | truncatewords:75}}<br>
<a href="{{ post.url }}">Weiterlesen …</a>
</p>
</div>
</div>
{% endfor %}