From: David Bremner Date: Mon, 15 Sep 2008 01:21:01 +0000 (-0300) Subject: special case for comments pages X-Git-Tag: 0.6~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c56d48dbd92fbb24b6d0da77df4dc5384f6e564f;p=ikiwiki.git special case for comments pages --- diff --git a/IkiWiki/Plugin/mailbox.pm b/IkiWiki/Plugin/mailbox.pm index 991e4d4ce..92ddf99f3 100644 --- a/IkiWiki/Plugin/mailbox.pm +++ b/IkiWiki/Plugin/mailbox.pm @@ -256,7 +256,7 @@ sub pagetemplate (@) { #{{{ my $template=$params{template}; - if (defined($config{mailbox_copyright})){ + if ($page =~ /.*comments/ && defined($config{mailbox_copyright})){ $template->param(COPYRIGHT=>$config{mailbox_copyright}); }