]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/conditional.mdwn
nice formatting
[ikiwiki.git] / doc / plugins / conditional.mdwn
index 42eb4e62dd09471cf4f19b59d0b787f53502b40b..a8dd215898e1dd24eca087e4a94dd67c22522885 100644 (file)
@@ -5,8 +5,8 @@ With this plugin, you can make text be conditionally displayed on a page.
 For example:
 
        \[[if test="enabled(smiley)"
-       then="The smiley plugin is enabled :-)"
-       else="No smiley plugin here.."]]
+             then="The smiley plugin is enabled :-)"
+             else="No smiley plugin here.."]]
 
 If the specified `test` succeeds, the `then` text will be displayed,
 otherwise the `else` text will be displayed. The `else` part is optional.