]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/comments.pm
comments: pass COMMENTOPENID to templates
[ikiwiki.git] / IkiWiki / Plugin / comments.pm
index bd09c6b25e600a6b876433e6433520a430322da6..d095a00bda2eb217186af5ae8bf56411c62b2339 100644 (file)
@@ -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});