summaryrefslogtreecommitdiffstats
path: root/nikola/data/themes/default/templates/gallery.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'nikola/data/themes/default/templates/gallery.tmpl')
-rw-r--r--nikola/data/themes/default/templates/gallery.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/nikola/data/themes/default/templates/gallery.tmpl b/nikola/data/themes/default/templates/gallery.tmpl
index 37d749f..3186cc8 100644
--- a/nikola/data/themes/default/templates/gallery.tmpl
+++ b/nikola/data/themes/default/templates/gallery.tmpl
@@ -1,5 +1,6 @@
## -*- coding: utf-8 -*-
<%inherit file="base.tmpl"/>
+<%namespace name="disqus" file="disqus_helper.tmpl"/>
<%block name="sourcelink"></%block>
<%block name="content">
@@ -24,4 +25,7 @@
<img src="${image[1]}" /></a></li>
%endfor
</ul>
+%if enable_comments:
+ ${disqus.html_disqus(None, permalink, title)}
+%endif
</%block>