]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/examples/blog/comments.mdwn
Use comment template on comments page of example blog.
[ikiwiki.git] / doc / examples / blog / comments.mdwn
index 4735dea08f8c87813a56a340f3c0bb55d8b09ff6..52c7d31328c4e776f18e3a9cd532a8aa720fc4b8 100644 (file)
@@ -1,3 +1,10 @@
-This page will show all comments made to posts in my [[blog|index]].
+[[!sidebar content="""
+[[!inline pages="comment_pending(./posts/*)" feedfile=pendingmoderation
+description="comments pending moderation" show=-1]]
+Comments in the moderation queue:
+[[!pagecount pages="comment_pending(./posts/*)"]]
+"""]]
 
-[[!inline pages="./posts/*/Discussion or internal(./posts/*/comment_*)"]]
+Recent comments on posts in the [[blog|index]]:
+[[!inline pages="./posts/*/Discussion or comment(./posts/*)"
+template="comment"]]