summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rw-r--r--templates/page.tmpl2
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index db828f580..8013e5cdd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,7 @@ ikiwiki (3.20100705) UNRELEASED; urgency=low
conflicting files/directories in the destdir.
* Updated French program translation from Philippe Batailler. Closes: #589423
* po: Fix selflink display on tranlsated pages. (intrigeri)
+ * Avoid showing 'Add a comment' link at the bottom of the comment post form.
-- Joey Hess <joeyh@debian.org> Mon, 05 Jul 2010 13:59:42 -0400
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 703a6d8de..8659018a0 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -117,6 +117,7 @@
<TMPL_VAR CONTENT>
<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>
<TMPL_VAR COMMENTS>
@@ -129,6 +130,7 @@
</TMPL_IF>
<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
</TMPL_IF>
+</TMPL_UNLESS>
</div>