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

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