summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2013-02-18 19:34:20 -0500
committerThomas Schwinge <thomas@schwinge.name>2014-03-09 19:29:38 +0100
commit7887b77dccdc305f5fef56930ac27e46d1560455 (patch)
treee3b735d43e0c194ef3d234d9cef53b1d87283bb8
parent9eaa225280d74ffd5d2c3fa30a47cdb93709aff1 (diff)
When inlining HTML pages, render enclosures.
(cherry picked from commit aebd6c773c5c228f6fb960c5f02fed38ff1af6f7)
-rw-r--r--.templates/newsitem.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/.templates/newsitem.tmpl b/.templates/newsitem.tmpl
index e8a9c861..910c2060 100644
--- a/.templates/newsitem.tmpl
+++ b/.templates/newsitem.tmpl
@@ -41,6 +41,12 @@
<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>
+<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="newsitemfooter"><TMPL_ELSE><div class="newsitemfooter"></TMPL_IF>
<!-- The saved space is more important that the information this provides.