]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/fortune.mdwn
move example back to plugin
[ikiwiki.git] / doc / plugins / fortune.mdwn
index 854d13364957253142f32e24f545dca48f1d2aab..9966f456da05b35a00fba722b338d8eb8edfffdb 100644 (file)
@@ -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 ]]
+"""]]