summaryrefslogtreecommitdiffstats
path: root/nikola/data/themes/base/templates/gallery.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'nikola/data/themes/base/templates/gallery.tmpl')
-rw-r--r--nikola/data/themes/base/templates/gallery.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/nikola/data/themes/base/templates/gallery.tmpl b/nikola/data/themes/base/templates/gallery.tmpl
index 731a75a..ca9da05 100644
--- a/nikola/data/themes/base/templates/gallery.tmpl
+++ b/nikola/data/themes/base/templates/gallery.tmpl
@@ -9,9 +9,9 @@
%if title:
<h1>${title}</h1>
%endif
- %if text:
+ %if post:
<p>
- ${text}
+ ${post.text()}
</p>
%endif
%if folders:
@@ -30,7 +30,7 @@
%endfor
</ul>
%endif
-%if enable_comments:
+%if site_has_comments and enable_comments:
${comments.comment_form(None, permalink, title)}
%endif
</%block>