]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/plugins/fortune.mdwn
po plugin: initial documentation, along with huge TODO list
[git.ikiwiki.info.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 ]]
+"""]]