]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/fortune.mdwn
patch plugin documentation to refer to directive pages
[ikiwiki.git] / doc / plugins / fortune.mdwn
index c47c02e6f3036c31f9c95f5a00d6023e837e7e73..854d13364957253142f32e24f545dca48f1d2aab 100644 (file)
@@ -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.