summaryrefslogtreecommitdiff
path: root/.templates/newsitem.tmpl
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-03-21 01:33:44 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-03-21 01:33:44 +0100
commitbfa5ab52ddbaa270c764a72457d64bb7bb32c7c9 (patch)
treed131e14185b897b18d9502870303fa7edb01c7da /.templates/newsitem.tmpl
parentdb4795ff66d1c52064fc758234db9c54bfc63a0e (diff)
parent9315421090088924c66a8f6e97ee3e0105d17617 (diff)
Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/web
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.