aboutsummaryrefslogblamecommitdiff
path: root/_layouts/podcast.html
blob: 197943fdda3348341339c31208fcf880eb2953dc (plain) (tree)
1
2
3
4
5
6
7
8
9




                

                                                                                                                         

        
                          





                                                                                                                                            

      
             
---
layout: post
---

<audio controls>
  <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">
  {% capture torrent-file %}{{ site.url }}/resources/podcasts/{{ page.date | date: "%Y-%m-%d" }}-{{ page.slug }}.ogg.torrent{% endcapture %}
  <a href="{{ torrent-file }}">torrent</a>
  {% if site.torrent %}
    |
    <a href="/torrent.html?torrent={{ torrent-file | uri_escape }}">online webtorrent</a>
  {% endif %}
</div>

{{ content }}