summaryrefslogtreecommitdiff
path: root/ikiwiki/directive/pagecount.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'ikiwiki/directive/pagecount.mdwn')
-rw-r--r--ikiwiki/directive/pagecount.mdwn10
1 files changed, 10 insertions, 0 deletions
diff --git a/ikiwiki/directive/pagecount.mdwn b/ikiwiki/directive/pagecount.mdwn
new file mode 100644
index 0000000..0e6ca3c
--- /dev/null
+++ b/ikiwiki/directive/pagecount.mdwn
@@ -0,0 +1,10 @@
+The `pagecount` directive is supplied by the [[!iki plugins/pagecount desc=pagecount]] plugin.
+
+This directive counts pages currently in the wiki. Example:
+
+ \[[!pagecount pages="*"]]
+
+The optional parameter "pages" can be a [[ikiwiki/PageSpec]] specifying the
+pages to count, default is to count them all.
+
+[[!meta robots="noindex, follow"]]