diff options
author | Amitai Schlair <schmonz-web-ikiwiki@schmonz.com> | 2013-06-26 20:17:17 -0400 |
---|---|---|
committer | Amitai Schlair <schmonz-web-ikiwiki@schmonz.com> | 2013-06-26 20:17:17 -0400 |
commit | 6a1cbe6f09e20ead8393de184480a403bc20cda1 (patch) | |
tree | cb871ddaa329ec5702200eec8520b07d3261896f /templates/page.tmpl | |
parent | 313a094e4c22fabe719dbdf0156a2fd7e329408b (diff) | |
download | ikiwiki-6a1cbe6f09e20ead8393de184480a403bc20cda1.tar ikiwiki-6a1cbe6f09e20ead8393de184480a403bc20cda1.tar.gz |
Don't add enclosure divs unless we have enclosures.
Diffstat (limited to 'templates/page.tmpl')
-rw-r--r-- | templates/page.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl index ac6086384..b8372ed8e 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -128,11 +128,11 @@ <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> +<TMPL_IF HTML5><section id="enclosure"><TMPL_ELSE><div id="enclosure"></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_UNLESS DYNAMIC> <TMPL_IF COMMENTS> |