aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-01-14 13:24:55 -0400
committerJoey Hess <joey@kitenet.net>2011-01-14 13:24:55 -0400
commitf5e806ecbc3b1f4485d75b880496b795867b299b (patch)
treeaef56f04d72192aca32dd457424597e2862858ba /doc
parente45671decb0eca5aab0c4da15476835df9abbcfc (diff)
downloadikiwiki-f5e806ecbc3b1f4485d75b880496b795867b299b.tar
ikiwiki-f5e806ecbc3b1f4485d75b880496b795867b299b.tar.gz
typo
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