typo
authorJoey Hess <joey@kitenet.net>
Fri, 14 Jan 2011 17:24:55 +0000 (13:24 -0400)
committerJoey Hess <joey@kitenet.net>
Fri, 14 Jan 2011 17:24:55 +0000 (13:24 -0400)
doc/templates.mdwn

index 70efcd8eb4a35a269bae8d06a286e9dbb9218608..d189fa073468dce570508c2d5fefa2c6b5c0afb6 100644 (file)
@@ -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