From: Joey Hess Date: Sun, 16 May 2010 02:38:59 +0000 (-0400) Subject: Revert "avoid showing comment post stuff on dynamic pages" X-Git-Tag: 3.20100515~4 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/ff67a31db53dee296ef5f603cc6062d2191c7178?ds=sidebyside;hp=e2ad879932446ee25b61fa3b30f5233df59dad59 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. --- 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')) {