diff options
author | Amitai Schlair <schmonz-web-ikiwiki@schmonz.com> | 2013-06-26 20:17:17 -0400 |
---|---|---|
committer | Thomas Schwinge <thomas@schwinge.name> | 2014-03-09 19:29:38 +0100 |
commit | f5f11dde240e7bfea0ba52f7c4d72c413cf12ba4 (patch) | |
tree | 7de398c43e0ed974352718a79a0f9a13cf790c4e /.templates | |
parent | 7887b77dccdc305f5fef56930ac27e46d1560455 (diff) |
Don't add enclosure divs unless we have enclosures.
(cherry picked from commit 6a1cbe6f09e20ead8393de184480a403bc20cda1)
Diffstat (limited to '.templates')
-rw-r--r-- | .templates/newsitem.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.templates/newsitem.tmpl b/.templates/newsitem.tmpl index 910c2060..c7153bd0 100644 --- a/.templates/newsitem.tmpl +++ b/.templates/newsitem.tmpl @@ -41,11 +41,11 @@ <TMPL_VAR CONTENT> <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF> -<TMPL_IF HTML5><section id="newsenclosure"><TMPL_ELSE><div id="newsenclosure"></TMPL_IF> <TMPL_IF ENCLOSURE> +<TMPL_IF HTML5><section id="newsenclosure"><TMPL_ELSE><div id="newsenclosure"></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="newsitemfooter"><TMPL_ELSE><div class="newsitemfooter"></TMPL_IF> |