]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Check for enabled(inline) before using inline.
authorjoshtriplett <joshtriplett@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 9 Apr 2007 21:11:36 +0000 (21:11 +0000)
committerjoshtriplett <joshtriplett@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 9 Apr 2007 21:11:36 +0000 (21:11 +0000)
doc/templates.mdwn

index a3adaf93e6e161024903a38e1008fa580eec81c3..5bdcbaab6e074468de8cf7c165f4f6ff22d0a894 100644 (file)
@@ -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**."
 ]]