]> sipb.mit.edu Git - ikiwiki.git/commitdiff
comments_comment.tmpl: allow permalink, anchor to be passed in
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Sun, 23 Nov 2008 17:06:40 +0000 (17:06 +0000)
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Thu, 11 Dec 2008 21:14:04 +0000 (21:14 +0000)
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>