summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/page.tmpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index b25db4e..6b527ad 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -126,6 +126,19 @@
</TMPL_IF>
</p>
+ <TMPL_IF COMMENTS>
+ <div id="comments">
+ <TMPL_VAR COMMENTS>
+ <TMPL_IF ADDCOMMENTURL>
+ <div class="addcomment">
+ <a href="<TMPL_VAR ADDCOMMENTURL>">Add a comment</a>
+ </div>
+ <TMPL_ELSE>
+ <div class="addcomment">Comments on this page are closed.</div>
+ </TMPL_IF>
+ </div>
+ </TMPL_IF>
+
</div>
</div>