projects
/
ikiwiki.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add underlay files for listdirectives
[ikiwiki.git]
/
underlays
/
basewiki
/
directive
/
fortune.mdwn
1
The `fortune` directive is supplied by the [[!iki plugins/fortune]] plugin.
2
3
This just uses the `fortune` program to insert a fortune into the page.
4
Usage:
5
6
\[[!fortune ]]
7
8
[[!if test="enabled(fortune)" then="""
9
Here's a fortune for you:
10
11
----
12
13
[[!fortune ]]
14
"""]]