summaryrefslogtreecommitdiff
path: root/doc/plugins
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-09-11 17:51:27 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-09-11 17:51:27 -0400
commitaa37d64d6a7134632bf1c35fa48c5f94af6230ab (patch)
tree4e22911e7353219ab6b99079d1b41fd9332db1e9 /doc/plugins
parent798034ad465eaf0fe07a5a0ff120fef800a26760 (diff)
move demo back to plugin and add example
Diffstat (limited to 'doc/plugins')
-rw-r--r--doc/plugins/orphans.mdwn14
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/plugins/orphans.mdwn b/doc/plugins/orphans.mdwn
index e50ee25d0..ea7c4df13 100644
--- a/doc/plugins/orphans.mdwn
+++ b/doc/plugins/orphans.mdwn
@@ -1,6 +1,14 @@
[[!template id=plugin name=orphans author="[[Joey]]"]]
[[!tag type/meta]]
-This plugin implements the [[ikiwiki/directive/orphans]] [[ikiwiki/directive]].
-The directive generates a list of possibly orphaned pages -- pages that no
-other page links to.
+This plugin provides the [[ikiwiki/directive/orphans]]
+[[ikiwiki/directive]], which generates a list of possibly orphaned pages --
+pages that no other page links to.
+
+[[!if test="enabled(orphans)" then="""
+Here's a list of orphaned pages on this wiki:
+
+[[!orphans pages="* and !news/* and !todo/* and !bugs/* and !users/* and
+!recentchanges and !examples/* and !tips/* and !sandbox/* and !templates/* and
+!wikiicons/* and !plugins/*"]]
+"""]]