]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/templates.mdwn
turn on syslog for the svn post-commit hook
[ikiwiki.git] / doc / templates.mdwn
index 71bf8a47add56756c6e072c3c26b7d434ef3703d..5bdcbaab6e074468de8cf7c165f4f6ff22d0a894 100644 (file)
@@ -1,9 +1,13 @@
-[[if test="enabled(template)"
-  then="This wiki has templates **enabled**."
-  else="This wiki has templates **disabled**."]]
+[[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**."
+]]