summaryrefslogtreecommitdiff
path: root/.templates
diff options
context:
space:
mode:
authorAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2013-02-18 16:24:22 -0500
committerThomas Schwinge <thomas@schwinge.name>2014-03-09 19:29:39 +0100
commitc708af237dd3f319066a76511738f8f901a5d530 (patch)
tree073cd13ecbdb4e8dbd27e15d73b37767555feb09 /.templates
parentb041ce3d29bc36156080098a016542146c262c65 (diff)
Make [[!meta enclosure=foo.mp3]] "work" for HTML.
(cherry picked from commit cc0d875507671498e7cf9cd782357d32dbd88f66)
Diffstat (limited to '.templates')
-rw-r--r--.templates/page.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/.templates/page.tmpl b/.templates/page.tmpl
index 3f012575..b707d9f0 100644
--- a/.templates/page.tmpl
+++ b/.templates/page.tmpl
@@ -134,6 +134,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>