summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-07-22 15:02:04 -0400
committerJoey Hess <joey@kitenet.net>2010-07-22 15:02:04 -0400
commit21fe996544f43ad5cfcdf36388015971b7fc56d1 (patch)
tree4a18a9be9b238cae183891ea45139144354d1283 /templates
parente50df5ea7601b6a1fc03994650ddff728aba7b57 (diff)
Avoid showing 'Add a comment' link at the bottom of the comment post form.
Since misctemplate is called with a page context, the comments plugin thinks it should add that, as well as the comment link in the actionbar. I kept the comment link because a quick link back to the comments to a page is sorta useful.
Diffstat (limited to 'templates')
-rw-r--r--templates/page.tmpl2
1 files changed, 2 insertions, 0 deletions
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>