From 1861190e2187329431dbd5577f436e1b9fd712dc Mon Sep 17 00:00:00 2001 From: "http://www.cse.unsw.edu.au/~willu/" Date: Thu, 18 Sep 2008 21:52:38 -0400 Subject: Include a list of all directives if we don't have a list of currently enabled directives --- doc/ikiwiki/directive.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) 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]] +"""]] -- cgit v1.2.3