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-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/70f121af025764bda665767d2566b9fa2f66ea91?hp=b50b549cabc8695959628bee10e015d2dcbb2e95 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/*)"]]