aboutsummaryrefslogtreecommitdiff
path: root/_layouts/podcast.html
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-12-23 01:55:47 -0300
committerEuAndreh <eu@euandre.org>2020-12-23 02:26:29 -0300
commit6a19c27e388f6606edb59751ac29e6b5ac80026c (patch)
tree847ba8d7f1780d4e9dade682965a8c92a48bde8e /_layouts/podcast.html
parent_layouts/podcast.html: Remove placeholder alternative tag, point to flac file (diff)
downloadeuandre.org-6a19c27e388f6606edb59751ac29e6b5ac80026c.tar.gz
euandre.org-6a19c27e388f6606edb59751ac29e6b5ac80026c.tar.xz
Generate torrent files from ogg files
Diffstat (limited to '')
-rw-r--r--_layouts/podcast.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/_layouts/podcast.html b/_layouts/podcast.html
index ea03187..982fbc6 100644
--- a/_layouts/podcast.html
+++ b/_layouts/podcast.html
@@ -3,8 +3,14 @@ layout: post
---
<audio controls>
- <source src="{% link /resources/podcasts/{{ page.lang }}/{{ page.date | date: "%Y-%m-%d" }}-{{ page.ref }}.ogg %}" type="audio/ogg">
- <source src="{% link /resources/podcasts/{{ page.lang }}/{{ page.date | date: "%Y-%m-%d" }}-{{ page.ref }}.flac %}" type="audio/flac">
+ <source src="{% link /resources/podcasts/{{ page.date | date: "%Y-%m-%d" }}-{{ page.slug }}.ogg %}" type="audio/ogg">
+ <source src="{% link /resources/podcasts/{{ page.date | date: "%Y-%m-%d" }}-{{ page.slug }}.flac %}" type="audio/flac">
</audio>
+<div class="torrent-link">
+ <a href="/resources/podcasts/{{ page.date | date: "%Y-%m-%d" }}-{{ page.slug }}.ogg.torrent">
+ torrent
+ </a>
+</div>
+
{{ content }}