diff options
author | Amitai Schlair <schmonz-web-ikiwiki@schmonz.com> | 2013-02-18 19:34:20 -0500 |
---|---|---|
committer | Thomas Schwinge <thomas@schwinge.name> | 2014-03-09 19:29:38 +0100 |
commit | 7887b77dccdc305f5fef56930ac27e46d1560455 (patch) | |
tree | e3b735d43e0c194ef3d234d9cef53b1d87283bb8 | |
parent | 9eaa225280d74ffd5d2c3fa30a47cdb93709aff1 (diff) |
When inlining HTML pages, render enclosures.
(cherry picked from commit aebd6c773c5c228f6fb960c5f02fed38ff1af6f7)
-rw-r--r-- | .templates/newsitem.tmpl | 6 |
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. |