aboutsummaryrefslogtreecommitdiff
path: root/templates/page.tmpl
diff options
context:
space:
mode:
authorAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2013-02-18 16:24:22 -0500
committerAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2013-02-18 16:24:22 -0500
commitcc0d875507671498e7cf9cd782357d32dbd88f66 (patch)
tree0e77ed5f095ff517b71f5e44553237ae2d8958d4 /templates/page.tmpl
parentd0862bc7a1bde9d828579c63841cf32fc44bffae (diff)
downloadikiwiki-cc0d875507671498e7cf9cd782357d32dbd88f66.tar
ikiwiki-cc0d875507671498e7cf9cd782357d32dbd88f66.tar.gz
Make [[!meta enclosure=foo.mp3]] "work" for HTML.
Diffstat (limited to 'templates/page.tmpl')
-rw-r--r--templates/page.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 89b4f3a06..ac6086384 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -128,6 +128,12 @@
<TMPL_VAR CONTENT>
<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
+<TMPL_IF HTML5><section id="enclosure"><TMPL_ELSE><div id="enclosure"></TMPL_IF>
+<TMPL_IF ENCLOSURE>
+<a href="<TMPL_VAR ENCLOSURE>">Download this episode</a>
+</TMPL_IF>
+<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
+
<TMPL_UNLESS DYNAMIC>
<TMPL_IF COMMENTS>
<TMPL_IF HTML5><section id="comments"><TMPL_ELSE><div id="comments"></TMPL_IF>