15 lines
346 B
Markdown
15 lines
346 B
Markdown
[[!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 ]]
|
|
"""]]
|