summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-05-02 07:52:19 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-05-02 07:52:19 +0000
commitaa8e72322605ce0bb2a3042fa65e183c04cef06b (patch)
treecfa055b123c284a7c8a1b78125023b3a36e30484 /doc
parent9815154c7d04566efa0a556023966d4477a50cc1 (diff)
web commit by JoshTriplett: Fix bad if nesting.
Diffstat (limited to 'doc')
-rw-r--r--doc/templates.mdwn11
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/templates.mdwn b/doc/templates.mdwn
index 5bdcbaab6..bd8b2b6fe 100644
--- a/doc/templates.mdwn
+++ b/doc/templates.mdwn
@@ -1,13 +1,12 @@
-[[if test="enabled(template)" then="""
-This wiki has templates **enabled**.
+[[if test="enabled(template)"
+then="This wiki has templates **enabled**."
+else="This wiki has templates **disabled**."
+]]
-[[if test="enabled(inline)" then="""
+[[if test="enabled(template) and enabled(inline)" then="""
These templates are available for inclusion onto other pages in this
wiki:
[[inline pages="templates/* and !*/discussion" feeds=no archive=yes
sort=title template=titlepage]]
"""]]
-"""
-else="This wiki has templates **disabled**."
-]]