aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/templates.mdwn2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/templates.mdwn b/doc/templates.mdwn
index 70efcd8eb..d189fa073 100644
--- a/doc/templates.mdwn
+++ b/doc/templates.mdwn
@@ -11,7 +11,7 @@ easy to learn. All you really need to know to modify templates is this:
* To use one block of text if a variable is set and a second if it's not,
use `<TMPL_IF variable>text<TMPL_ELSE>other text</TMPL_IF>`
-[[!if test="(enabled(template) or enabled(edittemplate)) then="""
+[[!if test="enabled(template) or enabled(edittemplate)" then="""
## template pages
Template pages are regular wiki pages that are used as templates for other