ikiwiki/doc/plugins/fortune.mdwn

14 lines
325 B
Markdown

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