summaryrefslogtreecommitdiff
path: root/ikiwiki/directive/pagestats.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'ikiwiki/directive/pagestats.mdwn')
-rw-r--r--ikiwiki/directive/pagestats.mdwn15
1 files changed, 15 insertions, 0 deletions
diff --git a/ikiwiki/directive/pagestats.mdwn b/ikiwiki/directive/pagestats.mdwn
new file mode 100644
index 0000000..cfb5737
--- /dev/null
+++ b/ikiwiki/directive/pagestats.mdwn
@@ -0,0 +1,15 @@
+The `pagestats` directive is supplied by the [[!iki plugins/pagestats desc=pagestats]] plugin.
+
+This directive can generate stats about how pages link to each other. It can
+produce either a tag cloud, or a table counting the number of links to each
+page.
+
+Here's how to use it to create a [[tag]] cloud:
+
+ \[[!pagestats pages="tags/*"]]
+
+And here's how to create a table of all the pages on the wiki:
+
+ \[[!pagestats style="table"]]
+
+[[!meta robots="noindex, follow"]]