]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/plugins/fortune.mdwn
aggregate: When run with --aggregate, if an aggregation is already running, don't...
[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 ]]
+"""]]