blob: 1ba6d6efc1addc474779221a6c65400666b0470d (
plain) (
tree)
|
|
---
layout: default
---
<article>
<section class="header">
{{ site.t.posted_on[page.lang] }}
{% include i18n-date.html date=page.date %}
</section>
{% if page.updated_at %}
<section class="header">
{{ site.t.updated_at[page.lang] }}
{% include i18n-date.html date=page.updated_at %}
</section>
{% endif %}
<section>
{% if page.audio %}
<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>
|
<a href="/torrent.html?torrent={{ torrent-file | uri_escape }}">online webtorrent</a>
</div>
{% endif %}
{% if page.video %}
{% if site.flags.direct-video %}
<video controls>
<source src="{% link /resources/screencasts/{{ page.date | date: "%Y-%m-%d" }}-{{ page.slug }}.mkv %}" type="video/x-matroska">
</video>
{% endif %}
<div class="torrent-link">
{% capture torrent-file %}{{ site.url }}/resources/screencasts/{{ page.date | date: "%Y-%m-%d" }}-{{ page.slug }}.mkv.torrent{% endcapture %}
<a href="{{ torrent-file }}">torrent</a>
|
<a href="/torrent.html?torrent={{ torrent-file | uri_escape }}">online webtorrent</a>
</div>
{% endif %}
{{ content }}
</section>
<section class="post-footer">
<p>
{% include public-inbox.html %}
</p>
</section>
</article>
|