-
Notifications
You must be signed in to change notification settings - Fork 0
/
podcasts.html
53 lines (46 loc) · 1.66 KB
/
podcasts.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
43
44
45
46
47
48
49
50
51
52
53
---
layout: default
title: Podcasts
---
<h1>Podcast Episodes</h1>
<p>To add our podcast to your player of choice, use <a href="{{ "/podcast-feed.xml" | prepend: site.baseurl | prepend: site.url }}">this rss url</a>.</p>
<div>
{%- assign visible_content = site.podcasts | where: 'visible', true | sort: 'date' | reverse -%}
<div class="post-list">
{%- for item in visible_content -%}
<div>
<div>
{% if item.image %}
<div class="hero-podcast-index">
<a class="post-link" href="{{ item.url | relative_url }}">
<img src="{{ item.image | relative_url }}" alt="{{ item.title }}">
</a>
</div>
{% endif %}
<div>
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
<span class="post-meta">{{ item.date | date: date_format }}</span>
</div>
<h3 style="display: inline-block">
<a class="post-link" href="{{ item.url | relative_url }}">
{{ item.title | escape }}
</a>
</h3>
<div>
<div>
{{ item.summary | markdownify }}
</div>
{%- if false -%}
{%- if item.tags.size > 0 -%}
<div class="tag-chips">
{%- for tag in item.tags -%}
<a href="{{ '/tags.html' | relative_url }}#{{ tag | slugify }}" class="tag-chip">{{ tag }}</a>
{%- endfor -%}
</div>
{%- endif -%}
{%- endif -%}
</div>
{%- endfor -%}
</div>
</div>
<link rel="alternate" type="application/rss+xml" title="Podcast Feed" href="{{ "/podcast-feed.xml" | prepend: site.baseurl | prepend: site.url }}">