aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/fortune.mdwn
blob: 9966f456da05b35a00fba722b338d8eb8edfffdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[[!template id=plugin name=fortune author="[[Joey]]"]]
[[!tag type/fun]]

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 ]]
"""]]