summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-15 22:38:59 -0400
committerJoey Hess <joey@kitenet.net>2010-05-15 22:38:59 -0400
commitff67a31db53dee296ef5f603cc6062d2191c7178 (patch)
treeb7e345f833a5027a020aab22bb81560fa64d0116
parente2ad879932446ee25b61fa3b30f5233df59dad59 (diff)
Revert "avoid showing comment post stuff on dynamic pages"
This reverts commit 4a6d5330e5b9554f1bd25b9025dd96200c6519c7. That was too ugly, the DYNAMIC test on page.tmpl will avoid the problem anyway -- just needs to be added.
-rw-r--r--IkiWiki/Plugin/comments.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm
index af7e7eccd..3cafcbe9c 100644
--- 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')) {