]> sipb.mit.edu Git - ikiwiki.git/commitdiff
switch to use comments(), and add a count (and a feed) of
authorJoey Hess <joey@kitenet.net>
Fri, 7 May 2010 18:12:14 +0000 (14:12 -0400)
committerJoey Hess <joey@kitenet.net>
Fri, 7 May 2010 18:12:14 +0000 (14:12 -0400)
comments pending moderation

doc/examples/blog/comments.mdwn

index 0b503ba0198057b9b23d898d6f5bcfbd5ed3b9ad..32ffa55377e1eca123cb16ad3af008cad955e608 100644 (file)
@@ -1,3 +1,7 @@
 This page will show recent comments made to posts in the [[blog|index]].
 
 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/*)"]]