aboutsummaryrefslogtreecommitdiff
path: root/templates/inlinepage.tmpl
diff options
context:
space:
mode:
authorAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2013-06-26 20:17:17 -0400
committerAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2013-06-26 20:17:17 -0400
commit6a1cbe6f09e20ead8393de184480a403bc20cda1 (patch)
treecb871ddaa329ec5702200eec8520b07d3261896f /templates/inlinepage.tmpl
parent313a094e4c22fabe719dbdf0156a2fd7e329408b (diff)
downloadikiwiki-6a1cbe6f09e20ead8393de184480a403bc20cda1.tar
ikiwiki-6a1cbe6f09e20ead8393de184480a403bc20cda1.tar.gz
Don't add enclosure divs unless we have enclosures.
Diffstat (limited to 'templates/inlinepage.tmpl')
-rw-r--r--templates/inlinepage.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/inlinepage.tmpl b/templates/inlinepage.tmpl
index cf0b6037e..2e80a51cc 100644
--- a/templates/inlinepage.tmpl
+++ b/templates/inlinepage.tmpl
@@ -23,11 +23,11 @@
<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>
+<TMPL_IF HTML5><section id="inlineenclosure"><TMPL_ELSE><div id="inlineenclosure"></TMPL_IF>
<a href="<TMPL_VAR ENCLOSURE>">Download this episode</a>
-</TMPL_IF>
<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
+</TMPL_IF>
<TMPL_IF HTML5><footer class="inlinefooter"><TMPL_ELSE><div class="inlinefooter"></TMPL_IF>