forked from bitcoinops/bitcoinops.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpodcast-episode.html
More file actions
39 lines (35 loc) · 1.15 KB
/
podcast-episode.html
File metadata and controls
39 lines (35 loc) · 1.15 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
---
layout: default
---
<link rel="stylesheet" href="/assets/css/main.css">
<article class="newsletter">
<header class="post-header">
<!--{% include functions/localization-finder.md %}-->
{% assign year = page.date | date: "%Y" %}
{% assign path = "/" | append: page.lang | append: "/podcast/" | append: year | append: "/" %}
{% include linkers/breadcrumbs.md path=path %}
<h1 class="post-title">{{ page.title | escape }}</h1>
<p class="post-meta">
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}">
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
{{ page.date | date: date_format }}
</time>
</p>
</header>
<div class="post-content podcast">
{{ content }}
</div>
<script type="text/javascript">
const player = document.getElementById('player');
function seek(timestamp) {
player.currentTime = timestamp.split(':').reduce((acc,time) => (60 * acc) + +time);
player.play();
}
</script>
<noscript>
<style>
.seek {display:none;}
</style>
</noscript>
{% include newsletter-signup.html %}
</article>