From: Joey Hess Date: Fri, 7 May 2010 18:12:14 +0000 (-0400) Subject: switch to use comments(), and add a count (and a feed) of X-Git-Tag: 3.20100515~65 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=70f121af025764bda665767d2566b9fa2f66ea91;p=ikiwiki.git switch to use comments(), and add a count (and a feed) of comments pending moderation --- diff --git a/doc/examples/blog/comments.mdwn b/doc/examples/blog/comments.mdwn index 0b503ba01..32ffa5537 100644 --- a/doc/examples/blog/comments.mdwn +++ b/doc/examples/blog/comments.mdwn @@ -1,3 +1,7 @@ This page will show recent comments made to posts in the [[blog|index]]. -[[!inline pages="./posts/*/Discussion or internal(./posts/*/comment_*)"]] +There are [[!pagecount pages="comment_pending(/posts/*)"]] comments +in the moderation queue. +[[!inline pages="comment_pending(/posts/*)" name=pendingmoderation show=-1]] + +[[!inline pages="./posts/*/Discussion or comment(./posts/*)"]]