summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-07-05 20:19:31 -0400
committerJoey Hess <joey@kitenet.net>2010-07-05 20:19:31 -0400
commit7e3fb8b8a230a725df7814c15745c6fee9ddd5b1 (patch)
tree15434e781f615d4ef46e84c59d2fd09ea61ba899 /doc
parentd89e2be91d79fca0a062744ff1dee630962cba7d (diff)
comments: Added commentmoderation directive for easy linking to the comment moderation queue.
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/blog/comments.mdwn2
-rw-r--r--doc/ikiwiki/directive/commentmoderation.mdwn9
2 files changed, 10 insertions, 1 deletions
diff --git a/doc/examples/blog/comments.mdwn b/doc/examples/blog/comments.mdwn
index 52c7d3132..e22b50a34 100644
--- a/doc/examples/blog/comments.mdwn
+++ b/doc/examples/blog/comments.mdwn
@@ -1,7 +1,7 @@
[[!sidebar content="""
[[!inline pages="comment_pending(./posts/*)" feedfile=pendingmoderation
description="comments pending moderation" show=-1]]
-Comments in the moderation queue:
+Comments in the [[!commentmoderation desc="moderation queue"]]:
[[!pagecount pages="comment_pending(./posts/*)"]]
"""]]
diff --git a/doc/ikiwiki/directive/commentmoderation.mdwn b/doc/ikiwiki/directive/commentmoderation.mdwn
new file mode 100644
index 000000000..8553b5b17
--- /dev/null
+++ b/doc/ikiwiki/directive/commentmoderation.mdwn
@@ -0,0 +1,9 @@
+The `commentmoderation` directive is supplied by the
+[[!iki plugins/comments desc=comments]] plugin, and is used to link
+to the comment moderation queue.
+
+Example:
+
+ \[[!commentmoderation desc="here is the comment moderation queue"]]
+
+[[!meta robots="noindex, follow"]]