diff options
author | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-11-23 17:06:40 +0000 |
---|---|---|
committer | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-12-11 21:14:04 +0000 |
commit | 8776c76e322b3e3d900ae9274820364cc590f4d7 (patch) | |
tree | a2ac0df1ee3d769454e35ea5bbc1ad32f0cdecdd /templates | |
parent | c9bb8b03a43b735e1b9876f58a1499a1445d0663 (diff) | |
download | ikiwiki-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.tmpl | 11 |
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> |