]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/fortune.mdwn
Merge branch 'master' of git://git.ikiwiki.info
[ikiwiki.git] / doc / plugins / fortune.mdwn
1 [[!template id=plugin name=fortune author="[[Joey]]"]]
2 [[!tag type/fun]]
3 [[!tag type/widget]]
4
5 This plugin implements the [[ikiwiki/directive/fortune]] [[ikiwiki/directive]].
6 This directive  uses the `fortune` program to insert a fortune into the page.
7
8 [[!if test="enabled(fortune)" then="""
9 Here's a fortune for you:
10
11 ----
12
13 [[!fortune ]]
14 """]]