diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-09-11 17:29:08 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-09-11 17:29:08 -0400 |
commit | 1b55d7879489a11ed37cb339f5f64bc2a362c721 (patch) | |
tree | 0ce28fa496b38493efe3bc52f283f2e12814ebab /doc | |
parent | c3d77f9ce9d0f183e4d115b6a696dd8eb4530b51 (diff) | |
download | ikiwiki-1b55d7879489a11ed37cb339f5f64bc2a362c721.tar ikiwiki-1b55d7879489a11ed37cb339f5f64bc2a362c721.tar.gz |
move example back to plugin
Diffstat (limited to 'doc')
-rw-r--r-- | doc/plugins/fortune.mdwn | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/plugins/fortune.mdwn b/doc/plugins/fortune.mdwn index 854d13364..9966f456d 100644 --- a/doc/plugins/fortune.mdwn +++ b/doc/plugins/fortune.mdwn @@ -3,3 +3,11 @@ 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 ]] +"""]] |