aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/fortune.mdwn
diff options
context:
space:
mode:
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.