-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpodcast.html
42 lines (36 loc) · 1.25 KB
/
podcast.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
37
38
39
40
41
42
---
layout: podcast
---
<div class="posts">
{% for post in site.posts %}
{% if post.categories contains 'Podcast' %}
<article class="post">
<h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
<div class="entry">
{{ post.content }}
</div>
<div class="date">
<!-- Geschrieben am -->
{% 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" }}
</div>
<!-- <a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a> -->
</article>
{% endif %}
{% endfor %}
</div>