]> sipb.mit.edu Git - ikiwiki.git/blobdiff - templates/comments_comment.tmpl
comments_comment.tmpl: allow permalink, anchor to be passed in
[ikiwiki.git] / templates / comments_comment.tmpl
index 8c89458f31f57913efc2060c1a65b4ca994f36bb..56a28753e4cc6de84802d771c6436787998b744a 100644 (file)
@@ -1,3 +1,7 @@
+<TMPL_IF NAME="ANCHOR">
+<div id="<TMPL_VAR ANCHOR ESCAPE=HTML>">
+</TMPL_IF>
+
 <TMPL_VAR BODY>
 <TMPL_IF NAME="SUBJECT">
 [[!meta title="<TMPL_VAR NAME="SUBJECT" ESCAPE=HTML>"]]
@@ -8,3 +12,10 @@
 <TMPL_IF NAME="AUTHORURL">
 [[!meta authorurl="<TMPL_VAR NAME="AUTHORURL" ESCAPE=HTML>"]]
 </TMPL_IF>
+<TMPL_IF NAME="PERMALINK">
+[[!meta permalink="<TMPL_VAR PERMALINK ESCAPE=HTML>"]]
+</TMPL_IF>
+
+<TMPL_IF NAME="ANCHOR">
+</div>
+</TMPL_IF>