aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/fortune.mdwn
diff options
context:
space:
mode:
authorWilliam Uther <willu@cse.unsw.edu.au>2008-09-11 17:05:51 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-09-11 17:05:51 -0400
commitc69a7f758590c91bd137a8d1cfa99f37bf28045a (patch)
tree16cbc730e9b63528b6a608856e8221b4fba40390 /doc/plugins/fortune.mdwn
parent4f0ac7fe59c196a602e07cc6c4abfc248999ec6b (diff)
downloadikiwiki-c69a7f758590c91bd137a8d1cfa99f37bf28045a.tar
ikiwiki-c69a7f758590c91bd137a8d1cfa99f37bf28045a.tar.gz
patch plugin documentation to refer to directive pages
Diffstat (limited to 'doc/plugins/fortune.mdwn')
-rw-r--r--doc/plugins/fortune.mdwn14
1 files changed, 2 insertions, 12 deletions
diff --git a/doc/plugins/fortune.mdwn b/doc/plugins/fortune.mdwn
index c47c02e6f..854d13364 100644
--- a/doc/plugins/fortune.mdwn
+++ b/doc/plugins/fortune.mdwn
@@ -1,15 +1,5 @@
[[!template id=plugin name=fortune author="[[Joey]]"]]
[[!tag type/fun]]
-This just uses the `fortune` program to insert a fortune into the page.
-Usage:
-
- \[[!fortune ]]
-
-[[!if test="enabled(fortune)" then="""
-Here's a fortune for you:
-
-----
-
-[[!fortune ]]
-"""]]
+This plugin implements the [[ikiwiki/directive/fortune]] [[ikiwiki/directive]].
+This directive uses the `fortune` program to insert a fortune into the page.