aboutsummaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-07 14:12:14 -0400
committerJoey Hess <joey@kitenet.net>2010-05-07 14:12:14 -0400
commit70f121af025764bda665767d2566b9fa2f66ea91 (patch)
tree93f13e40cac67bd98a186a48e19e14ea8e36a4d5 /doc/examples
parentb50b549cabc8695959628bee10e015d2dcbb2e95 (diff)
downloadikiwiki-70f121af025764bda665767d2566b9fa2f66ea91.tar
ikiwiki-70f121af025764bda665767d2566b9fa2f66ea91.tar.gz
switch to use comments(), and add a count (and a feed) of
comments pending moderation
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/blog/comments.mdwn6
1 files changed, 5 insertions, 1 deletions
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/*)"]]