aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoshtriplett <joshtriplett@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-09 21:11:36 +0000
committerjoshtriplett <joshtriplett@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-09 21:11:36 +0000
commit6d63b9665cde5db8fd8601f62db4270ffde56025 (patch)
treec29ee29a32294485eefea233e480ce16756ae1bc /doc
parent18e776f4c16b643e08c524890c2a1af866dab433 (diff)
downloadikiwiki-6d63b9665cde5db8fd8601f62db4270ffde56025.tar
ikiwiki-6d63b9665cde5db8fd8601f62db4270ffde56025.tar.gz
Check for enabled(inline) before using inline.
Diffstat (limited to 'doc')
-rw-r--r--doc/templates.mdwn2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/templates.mdwn b/doc/templates.mdwn
index a3adaf93e..5bdcbaab6 100644
--- a/doc/templates.mdwn
+++ b/doc/templates.mdwn
@@ -1,11 +1,13 @@
[[if test="enabled(template)" then="""
This wiki has templates **enabled**.
+[[if test="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**."
]]