]> sipb.mit.edu Git - ikiwiki.git/blob - underlays/basewiki/directive/fortune.mdwn
move demo back to plugin page
[ikiwiki.git] / underlays / basewiki / directive / fortune.mdwn
1 The `fortune` directive is supplied by the [[!iki plugins/fortune]] plugin.
2
3 This just uses the `fortune` program to insert a fortune into the page.
4 Usage:
5
6         \[[!fortune ]]
7
8 [[!if test="enabled(fortune)" then="""
9 Here's a fortune for you:
10
11 ----
12
13 [[!fortune ]]
14 """]]