summaryrefslogtreecommitdiff
path: root/example/episodes.html
diff options
context:
space:
mode:
Diffstat (limited to 'example/episodes.html')
-rw-r--r--example/episodes.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/example/episodes.html b/example/episodes.html
new file mode 100644
index 0000000..1956472
--- /dev/null
+++ b/example/episodes.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>{{ entry.title }}</title>
+ </head>
+ <body>
+ <article>
+ <header>
+ <h1>{{ entry.title }}</h1>
+ {% if entry.album %}
+ <h2>Part of the {{ entry.album }} series.</h2>
+ {% endif %}
+ </header>
+ By {{ entry.artist }}
+ On {{ entry.date | date(format="%b %d, %Y") }}
+
+ <p>
+ <audio controls="controls">
+ <source src="/{{ entry.filename }}" type="audio/mpeg" />
+ Your browser does not support the audio tag. Please download the MP3.
+ </audio>
+ </p>
+ <p><a href="/{{ entry.filename }}">Download MP3</a></p>
+ </article>
+ </body>
+</html>
+
+