]> scripts.mit.edu Git - www/ikiwiki.git/blob - doc/plugins/fortune.mdwn
* Allow plugins to add new types of tests that can be used in PageSpecs.
[www/ikiwiki.git] / doc / plugins / fortune.mdwn
1 [[template id=plugin name=fortune included=1 author="[[Joey]]"]]
2 [[tag type/fun]]
3
4 This just uses the `fortune` program to insert a fortune into the page.
5 Usage:
6
7         \[[fortune ]]
8
9 [[if test="enabled(fortune)" then="""
10 Here's a fortune for you:
11
12 ----
13
14 [[fortune ]]
15 """]]