projects
/
ikiwiki
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
toc: Add the table of contents at sanitize time, rather than at format time. This...
[ikiwiki]
/
doc
/
plugins
/
fortune.mdwn
1
[[template id=plugin name=fortune author="[[Joey]]"]]
2
[[tag type/fun]]
3
4
This just uses the `fortune` program to insert a fortune into the page.
5
Usage:
6
7
\[[fortune ]]
8
9
[[if test="enabled(fortune)" then="""
10
Here's a fortune for you:
11
12
----
13
14
[[fortune ]]
15
"""]]