X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/c69a7f758590c91bd137a8d1cfa99f37bf28045a..623c7e17989f53ef049f12639950d2c50c9edd4f:/doc/plugins/fortune.mdwn?ds=inline diff --git a/doc/plugins/fortune.mdwn b/doc/plugins/fortune.mdwn index 854d13364..3cb125ac1 100644 --- a/doc/plugins/fortune.mdwn +++ b/doc/plugins/fortune.mdwn @@ -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 ]] +"""]]