Create podcast index page

This commit is contained in:
davegson 2019-09-19 15:26:38 +02:00
parent 53481e4712
commit f1e903df50
2 changed files with 32 additions and 0 deletions

17
_layouts/podcast.html Normal file
View file

@ -0,0 +1,17 @@
---
layout: page_column
title: "The Safing Podcast"
heading: "The Safing Podcast"
---
<div class="post">
<div class="tags">
{% for tag in page.tags %}
<div class="stealth-href"><i class="fa fa-tag fa-flip-horizontal"></i> {{ tag }}</div>
{% endfor %}
</div>
<div class="content">
{{ content | replace: '<!--break-->', '<a class="anchor" id="continue"></a>' }}
</div>
</div>

15
podcast.html Normal file
View file

@ -0,0 +1,15 @@
---
title: The Safing Podcast
layout: podcast
---
<div class="ui divided items">
{% for episode in site.podcasts %}
<div class="item">
<div class="middle aligned content">
<a href="{{ episode.url }}">{{ episode.title }}</a>
</div>
</div>
{% endfor %}
</div>