Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
web commit by http://nahamu.livejournal.com/
[git.ikiwiki.info.git]
/
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
"""]]