mirror of
https://github.com/safing/web
synced 2025-04-23 12:29:09 +00:00
Format podcast index
This commit is contained in:
parent
2a682b74d9
commit
cd39d1c172
1 changed files with 14 additions and 2 deletions
|
@ -3,13 +3,25 @@ title: The Safing Podcast
|
|||
layout: podcast
|
||||
---
|
||||
|
||||
|
||||
<div class="ui divided items">
|
||||
{% assign sorted_podcasts = site.podcasts | reverse %}
|
||||
{% for episode in sorted_podcasts %}
|
||||
<div class="item">
|
||||
<a class="ui image" href="{{ episode.url }}">
|
||||
<span class="ui large text">
|
||||
#{{ episode.title | slice: 2, 2 }}
|
||||
</span>
|
||||
</a>
|
||||
<div class="middle aligned content">
|
||||
<a href="{{ episode.url }}">{{ episode.title }}</a>
|
||||
{% assign title_length = episode.title | size %}
|
||||
<a class="description" href="{{ episode.url }}">{{ episode.title | slice: 7, title_length }}</a>
|
||||
<div class="meta">
|
||||
<span class="ui small text">
|
||||
{% for host in episode.hosts %}
|
||||
<i class="user icon"></i>{{ host }}
|
||||
{% endfor %}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Reference in a new issue