summaryrefslogtreecommitdiff
path: root/.templates/newsitem.tmpl
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2014-03-09 20:22:07 +0100
committerThomas Schwinge <thomas@codesourcery.com>2014-03-09 20:22:07 +0100
commit2e12582c023bb4702f7bb71624ed26cb38003bfc (patch)
tree8f9ea853abb808752d5db7ca94a3d211d42c9aaf /.templates/newsitem.tmpl
parent476a2653cd4b7c5129a500eb217874a0a5e5d1f6 (diff)
parent09d9a8c0048ae1e55b2d28643e04764eb38696ee (diff)
Merge branch 'ikiwiki-update'
Diffstat (limited to '.templates/newsitem.tmpl')
-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..919200bb 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 ENCLOSURE>
+<TMPL_IF HTML5><section id="newsitemenclosure"><TMPL_ELSE><div id="newsitemenclosure"></TMPL_IF>
+<a href="<TMPL_VAR ENCLOSURE>">Download</a>
+<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
+</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.