]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/plugins/fortune.mdwn
allow template pages to not be under templates/
[git.ikiwiki.info.git] / doc / plugins / fortune.mdwn
1 [[!template id=plugin name=fortune author="[[Joey]]"]]
2 [[!tag type/fun]]
3 [[!tag type/widget]]
5 This plugin implements the [[ikiwiki/directive/fortune]] [[ikiwiki/directive]].
6 This directive  uses the `fortune` program to insert a fortune into the page.
8 [[!if test="enabled(fortune)" then="""
9 Here's a fortune for you:
11 ----
13 [[!fortune ]]
14 """]]