From 6d63b9665cde5db8fd8601f62db4270ffde56025 Mon Sep 17 00:00:00 2001 From: joshtriplett Date: Mon, 9 Apr 2007 21:11:36 +0000 Subject: Check for enabled(inline) before using inline. --- doc/templates.mdwn | 2 ++ 1 file changed, 2 insertions(+) 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**." ]] -- cgit v1.2.3