]> sipb.mit.edu Git - ikiwiki.git/blobdiff - templates/inlinepage.tmpl
Don't add enclosure divs unless we have enclosures.
[ikiwiki.git] / templates / inlinepage.tmpl
index cf0b6037e24a8f40b2d115e8ccbd42e597e3874b..2e80a51ccad0e93fd7e5e51bfb7a79b16e1fa0a5 100644 (file)
 <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>