]> sipb.mit.edu Git - ikiwiki.git/blobdiff - templates/page.tmpl
Make [[!meta enclosure=foo.mp3]] "work" for HTML.
[ikiwiki.git] / templates / page.tmpl
index 89b4f3a06805e65d832a3ab279baf8e7e29675ea..ac60863843b1d87aff11a117672b892f5ffeec96 100644 (file)
 <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>