This repository was archived by the owner on Apr 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathepisode.html
More file actions
62 lines (57 loc) · 2.13 KB
/
Copy pathepisode.html
File metadata and controls
62 lines (57 loc) · 2.13 KB
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
54
55
56
57
58
59
60
61
62
---
layout: default
---
{% assign streams = '' | split: "x" %}
{% if page.crowdcast %}
{% capture link -%}
<a href="{{ page.crowdcast }}" target=_blank>Crowdcast</a>
{%- endcapture %}{% assign streams = streams | push: link %}
{% endif %}
{% if page.youtube %}
{% capture link -%}
<a href="{{ page.youtube }}" target=_blank>YouTube</a>
{%- endcapture %}{% assign streams = streams | push: link %}
{% endif %}
{% if page.acast %}
{% capture link -%}
<a href="{{ page.acast }}" target=_blank>ACast</a> (audio)
{%- endcapture%}{% assign streams = streams | push: link %}
{% endif %}
{% capture stream_label %}Stream{% if streams.size != 1 %}s{% endif %}{% endcapture %}
<article class="post">
<header class="post-header">
<h1 class="post-title">Episode {{ page.episode }}
<span style="font-size: 80%; float: right;">
{% if page.previous %}<a href="/episode/{{ page.previous.episode }}"
title="Previous episode ({{ page.previous.episode }})">⬅</a>{% endif %}
<a href="http://repo.inlieuof.fun/edit/source/{{ page.path }}" target=_blank
title="Edit episode {{ page.episode }} on GitHub">✍</a>
{% if page.next %}<a href="/episode/{{ page.next.episode }}"
title="Next episode ({{ page.next.episode }})">➡</a>{% endif %}
</span></h1>
<ul>
<li><strong>Air Date:</strong> {{ page.date | date: "%B %e, %Y" }}</li>
<li>{% if page.guests.size > 0 -%}
<strong>Guests:</strong> {{ page.guests | map: "hyperlink" | join: ", " }}
{% else -%}
No guests, just your hosts.
{% endif %}
</li>
<li><strong>{{ stream_label }}:</strong> {{ streams | join: ", " }}</li>
{% if page.summary %}
<li><strong>Summary:</strong> {{ page.summary | strip }}</li>
{%- endif %}
{% if page.links %}
<li><strong>Links:</strong>
{%- for link in page.links %}
<a href="{{ link.url }}" target=_blank>{{ link.title }}</a>
{%- unless forloop.last %}, {% endunless -%}
{% endfor %}
</li>
{% endif %}
</ul>
</header>
<div class="post-content">
{{ content }}
</div>
</article>