]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/mailbox.pm
special case for comments pages
[git.ikiwiki.info.git] / IkiWiki / Plugin / mailbox.pm
index 20738842541c7463ffde21cabbb2a5f04682d7d6..92ddf99f32f65f141f471b0590b61ba4d443d91c 100644 (file)
@@ -255,6 +255,11 @@ sub pagetemplate (@) { #{{{
         my $destpage=$params{destpage};
         my $template=$params{template};
 
+
+       if ($page =~ /.*comments/  && defined($config{mailbox_copyright})){
+           $template->param(COPYRIGHT=>$config{mailbox_copyright});
+       }
+
        if (exists $metaheaders{$page} && $template->query(name => "meta")) {
                # avoid duplicate meta lines
                my %seen;