X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/c69a7f758590c91bd137a8d1cfa99f37bf28045a..c0d1f2caceae468598861f435c1d7318a94c1302:/doc/plugins/fortune.mdwn diff --git a/doc/plugins/fortune.mdwn b/doc/plugins/fortune.mdwn index 854d13364..9966f456d 100644 --- a/doc/plugins/fortune.mdwn +++ b/doc/plugins/fortune.mdwn @@ -3,3 +3,11 @@ 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 ]] +"""]]