From: Simon McVittie Date: Thu, 18 Dec 2008 19:57:25 +0000 (+0000) Subject: comments: pass COMMENTOPENID to templates X-Git-Tag: 2.71~33^2~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8ed94c0a18435f3a1934e19949153c7ccf8ec78a;p=ikiwiki.git comments: pass COMMENTOPENID to templates --- 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});