move example back to plugin
parent
c3d77f9ce9
commit
1b55d78794
|
@ -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 ]]
|
||||
"""]]
|
||||
|
|
|
@ -1,14 +1,6 @@
|
|||
The `fortune` directive is supplied by the [[!iki plugins/fortune]] plugin.
|
||||
|
||||
This just uses the `fortune` program to insert a fortune into the page.
|
||||
This just uses the `fortune` program to insert a fortune cookie into the page.
|
||||
Usage:
|
||||
|
||||
\[[!fortune ]]
|
||||
|
||||
[[!if test="enabled(fortune)" then="""
|
||||
Here's a fortune for you:
|
||||
|
||||
----
|
||||
|
||||
[[!fortune ]]
|
||||
"""]]
|
||||
|
|
Loading…
Reference in New Issue