diff options
author | Amitai Schlair <schmonz-web-ikiwiki@schmonz.com> | 2013-02-18 19:34:20 -0500 |
---|---|---|
committer | Amitai Schlair <schmonz-web-ikiwiki@schmonz.com> | 2013-02-18 19:34:20 -0500 |
commit | aebd6c773c5c228f6fb960c5f02fed38ff1af6f7 (patch) | |
tree | 511063d7da1145b2108a67cdce7e0a0d8d76c31b /templates/inlinepage.tmpl | |
parent | c8199ffd767ee263cfa612cd63693c76632f00e0 (diff) | |
download | ikiwiki-aebd6c773c5c228f6fb960c5f02fed38ff1af6f7.tar ikiwiki-aebd6c773c5c228f6fb960c5f02fed38ff1af6f7.tar.gz |
When inlining HTML pages, render enclosures.
Diffstat (limited to 'templates/inlinepage.tmpl')
-rw-r--r-- | templates/inlinepage.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/inlinepage.tmpl b/templates/inlinepage.tmpl index b0b53d041..cf0b6037e 100644 --- a/templates/inlinepage.tmpl +++ b/templates/inlinepage.tmpl @@ -23,6 +23,12 @@ <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> +<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="inlinefooter"><TMPL_ELSE><div class="inlinefooter"></TMPL_IF> <span class="pagedate"> |