]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/shortcuts.mdwn
Add enabled/disabled indicator at the top of the shortcuts page.
[ikiwiki.git] / doc / shortcuts.mdwn
index 77d2bc2a736422b37d1056748f8c9981fc3bd23a..c21d9d070762e292d4f4da022bb688cfb1c3e34a 100644 (file)
@@ -1,3 +1,7 @@
+[[if test="enabled(shortcut)"
+     then="This wiki has shortcuts **enabled**."
+     else="This wiki has shortcuts **disabled**."]]
+
 This page controls what shortcut links the wiki supports.
 
 * [[shortcut name=google url="http://www.google.com/search?q=%s"]]