From: Joey Hess <joey@kitenet.net>
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.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/70f121af025764bda665767d2566b9fa2f66ea91?hp=-c

switch to use comments(), and add a count (and a feed) of
comments pending moderation
---

70f121af025764bda665767d2566b9fa2f66ea91
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/*)"]]