]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/plugins/fortune.mdwn
Merge remote-tracking branch 'anarcat/dev/proxy-utf8-fail'
[git.ikiwiki.info.git] / doc / plugins / fortune.mdwn
index 854d13364957253142f32e24f545dca48f1d2aab..3cb125ac12eeee4b20f789f107bab862d983e948 100644 (file)
@@ -1,5 +1,14 @@
 [[!template id=plugin name=fortune author="[[Joey]]"]]
 [[!tag type/fun]]
+[[!tag type/widget]]
 
 This plugin implements the [[ikiwiki/directive/fortune]] [[ikiwiki/directive]].
 This directive  uses the `fortune` program to insert a fortune into the page.
+
+[[!if test="enabled(fortune)" then="""
+Here's a fortune for you:
+
+----
+
+[[!fortune ]]
+"""]]