X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/c69a7f758590c91bd137a8d1cfa99f37bf28045a..3f4914b95ba239489bae48f154abed9892e0cbf5:/doc/plugins/fortune.mdwn 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 ]] +"""]]