]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/ikiwiki/directive/pagecount.mdwn
Move the directive documentation into its own underlay, separate from basewiki,...
[ikiwiki.git] / doc / ikiwiki / directive / pagecount.mdwn
diff --git a/doc/ikiwiki/directive/pagecount.mdwn b/doc/ikiwiki/directive/pagecount.mdwn
new file mode 100644 (file)
index 0000000..f799a5d
--- /dev/null
@@ -0,0 +1,10 @@
+The `pagecount` directive is supplied by the [[!iki plugins/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"]]