projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2ad879
)
Revert "avoid showing comment post stuff on dynamic pages"
author
Joey Hess
<joey@kitenet.net>
Sun, 16 May 2010 02:38:59 +0000
(22:38 -0400)
committer
Joey Hess
<joey@kitenet.net>
Sun, 16 May 2010 02:38:59 +0000
(22:38 -0400)
This reverts commit
4a6d5330e5b9554f1bd25b9025dd96200c6519c7
.
That was too ugly, the DYNAMIC test on page.tmpl will avoid the problem
anyway -- just needs to be added.
IkiWiki/Plugin/comments.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/comments.pm
b/IkiWiki/Plugin/comments.pm
index af7e7eccd89603430c7b0f4d5cee65b07c4ae02f..3cafcbe9c6860dbfb95087da454bf364617f1292 100644
(file)
--- a/
IkiWiki/Plugin/comments.pm
+++ b/
IkiWiki/Plugin/comments.pm
@@
-742,7
+742,6
@@
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')) {