summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-12-18 19:57:25 +0000
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-12-20 17:34:55 +0000
commit8ed94c0a18435f3a1934e19949153c7ccf8ec78a (patch)
tree7057a4f08f3f276c485acdab5ea65b62dd7f18c3
parent8a9f4e225f1c54705fa6d7061724b62fe11ae8fa (diff)
comments: pass COMMENTOPENID to templates
-rw-r--r--IkiWiki/Plugin/comments.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm
index bd09c6b25..d095a00bd 100644
--- a/IkiWiki/Plugin/comments.pm
+++ b/IkiWiki/Plugin/comments.pm
@@ -573,6 +573,11 @@ sub pagetemplate (@) {
$pagestate{$page}{comments}{commentuser});
}
+ if ($template->query(name => 'commentopenid')) {
+ $template->param(commentopenid =>
+ $pagestate{$page}{comments}{commentopenid});
+ }
+
if ($template->query(name => 'commentip')) {
$template->param(commentip =>
$pagestate{$page}{comments}{commentip});