switch to use comments(), and add a count (and a feed) of
[ikiwiki.git] / 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]].
 
-[[!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/*)"]]