]> sipb.mit.edu Git - ikiwiki.git/blob - templates/comments_embed.tmpl
page.tmpl: optionally include "add comment" link
[ikiwiki.git] / templates / comments_embed.tmpl
1 <div class="comments-embed">
2 <TMPL_IF NAME=COMMENTS>
3 <TMPL_VAR NAME=COMMENTS>
4 </TMPL_VAR>
5
6 <TMPL_IF NAME=DISABLED>
7 [Posting comments disabled: <TMPL_VAR NAME=DISABLED>]
8 <TMPL_ELSE>
9 <a href="<TMPL_VAR CGIURL ESCAPE=HTML>?do=comment&amp;page=<TMPL_VAR PAGE ESCAPE=URL>">Post a comment</a>
10 </TMPL_IF>
11 </div>