From: joshtriplett <joshtriplett@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Date: Mon, 9 Apr 2007 21:11:36 +0000 (+0000)
Subject: Check for enabled(inline) before using inline.
X-Git-Tag: 1.50~79
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/6d63b9665cde5db8fd8601f62db4270ffde56025

Check for enabled(inline) before using inline.
---

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**."
 ]]