aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://www.cse.unsw.edu.au/~willu/ <http://www.cse.unsw.edu.au/~willu/@web>2008-09-18 21:52:38 -0400
committerJoey Hess <joey@kitenet.net>2008-09-18 21:52:38 -0400
commit1861190e2187329431dbd5577f436e1b9fd712dc (patch)
treec5ad0b192fb229ba46cb16294f72ebd28af7bb3c
parentedab887e8ad1bb9b59455a020d75408417b7efb7 (diff)
downloadikiwiki-1861190e2187329431dbd5577f436e1b9fd712dc.tar
ikiwiki-1861190e2187329431dbd5577f436e1b9fd712dc.tar.gz
Include a list of all directives if we don't have a list of currently enabled directives
-rw-r--r--doc/ikiwiki/directive.mdwn7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/ikiwiki/directive.mdwn b/doc/ikiwiki/directive.mdwn
index c4342dee8..607da4451 100644
--- a/doc/ikiwiki/directive.mdwn
+++ b/doc/ikiwiki/directive.mdwn
@@ -43,3 +43,10 @@ Here is a list of currently available directives in this wiki:
[[!listdirectives ]]
"""]]
+
+[[!if test="!enabled(listdirectives)" then="""
+Here is a list of all directives documented in this wiki. Not all of them may be enabled:
+
+[[!inline pages="/ikiwiki/directive/* and !*/Discussion" archive="yes" sort=title
+rootpage="/ikiwiki/directive/contrib" postformtext="Add a new directive named:" show=0]]
+"""]]