aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2013-02-18 19:34:20 -0500
committerAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2013-02-19 20:22:47 -0500
commita7a68417d0b0dd9499afb593c21cf1b5cda02ab3 (patch)
treef142556bebb1c68860901d5f3eda63077060a706 /templates
parentd27c587ec9e7ff179cef42d68a6079282ef1fca9 (diff)
downloadikiwiki-a7a68417d0b0dd9499afb593c21cf1b5cda02ab3.tar
ikiwiki-a7a68417d0b0dd9499afb593c21cf1b5cda02ab3.tar.gz
When inlining HTML pages, render enclosures.
Diffstat (limited to 'templates')
-rw-r--r--templates/inlinepage.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/inlinepage.tmpl b/templates/inlinepage.tmpl
index b0b53d041..cf0b6037e 100644
--- a/templates/inlinepage.tmpl
+++ b/templates/inlinepage.tmpl
@@ -23,6 +23,12 @@
<TMPL_VAR CONTENT>
<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
+<TMPL_IF HTML5><section id="inlineenclosure"><TMPL_ELSE><div id="inlineenclosure"></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_IF HTML5><footer class="inlinefooter"><TMPL_ELSE><div class="inlinefooter"></TMPL_IF>
<span class="pagedate">