projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e45671d
)
typo
author
Joey Hess
<joey@kitenet.net>
Fri, 14 Jan 2011 17:24:55 +0000
(13:24 -0400)
committer
Joey Hess
<joey@kitenet.net>
Fri, 14 Jan 2011 17:24:55 +0000
(13:24 -0400)
doc/templates.mdwn
patch
|
blob
|
history
diff --git
a/doc/templates.mdwn
b/doc/templates.mdwn
index 70efcd8eb4a35a269bae8d06a286e9dbb9218608..d189fa073468dce570508c2d5fefa2c6b5c0afb6 100644
(file)
--- 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