Add dates to podcast index

This commit is contained in:
davegson 2019-11-29 15:19:48 +01:00
parent cd39d1c172
commit 1bc5448eaf
2 changed files with 2 additions and 1 deletions

View file

@ -8,7 +8,7 @@
<div>
{% assign title_length = episode.title | size %}
<span>{{ episode.title | slice: 7, title_length }}</span>
<p>{{ episode.title | slice: 0, 4 }}</p>
<p>{{ episode.title | slice: 0, 4 }} - {{ episode.date | date: "%-d. %b %Y" }}</p>
</div>
</a>
{% endfor %}

View file

@ -17,6 +17,7 @@ layout: podcast
<a class="description" href="{{ episode.url }}">{{ episode.title | slice: 7, title_length }}</a>
<div class="meta">
<span class="ui small text">
<i class="calendar alternate icon"></i>{{ episode.date | date: "%-d. %b %Y" }},
{% for host in episode.hosts %}
<i class="user icon"></i>{{ host }}
{% endfor %}