projects
/
ikiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
avoid showing comment post stuff on dynamic pages
[ikiwiki.git]
/
IkiWiki
/
Plugin
/
comments.pm
diff --git
a/IkiWiki/Plugin/comments.pm
b/IkiWiki/Plugin/comments.pm
index 3cafcbe9c6860dbfb95087da454bf364617f1292..af7e7eccd89603430c7b0f4d5cee65b07c4ae02f 100644
(file)
--- a/
IkiWiki/Plugin/comments.pm
+++ b/
IkiWiki/Plugin/comments.pm
@@
-742,6
+742,7
@@
sub pagetemplate (@) {
$template->query(name => 'commentsurl') ||
$template->query(name => 'atomcommentsurl') ||
$template->query(name => 'comments')) &&
+ length $page && # not dynamic
commentsshown($page);
if ($template->query(name => 'comments')) {