diff options
author | Amitai Schlair <schmonz-web-ikiwiki@schmonz.com> | 2013-02-18 16:24:22 -0500 |
---|---|---|
committer | Amitai Schlair <schmonz-web-ikiwiki@schmonz.com> | 2013-02-19 20:22:46 -0500 |
commit | 546da9bac7135d7d1b02dce0c0eef2209d939fc6 (patch) | |
tree | 4c737a7fa89f9110a060153f7eaf0a1b7babb4f9 /templates | |
parent | 86df150fb0d9d0890b14fef545a772379a2f56af (diff) | |
download | ikiwiki-546da9bac7135d7d1b02dce0c0eef2209d939fc6.tar ikiwiki-546da9bac7135d7d1b02dce0c0eef2209d939fc6.tar.gz |
Make [[!meta enclosure=foo.mp3]] "work" for HTML.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/page.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl index 89b4f3a06..ac6086384 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -128,6 +128,12 @@ <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> +<a href="<TMPL_VAR ENCLOSURE>">Download this episode</a> +</TMPL_IF> +<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF> + <TMPL_UNLESS DYNAMIC> <TMPL_IF COMMENTS> <TMPL_IF HTML5><section id="comments"><TMPL_ELSE><div id="comments"></TMPL_IF> |