aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-11-23 17:06:40 +0000
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-12-11 21:14:04 +0000
commit8776c76e322b3e3d900ae9274820364cc590f4d7 (patch)
treea2ac0df1ee3d769454e35ea5bbc1ad32f0cdecdd /templates
parentc9bb8b03a43b735e1b9876f58a1499a1445d0663 (diff)
downloadikiwiki-8776c76e322b3e3d900ae9274820364cc590f4d7.tar
ikiwiki-8776c76e322b3e3d900ae9274820364cc590f4d7.tar.gz
comments_comment.tmpl: allow permalink, anchor to be passed in
Diffstat (limited to 'templates')
-rw-r--r--templates/comments_comment.tmpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/comments_comment.tmpl b/templates/comments_comment.tmpl
index 8c89458f3..56a28753e 100644
--- a/templates/comments_comment.tmpl
+++ b/templates/comments_comment.tmpl
@@ -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>