Include a list of all directives if we don't have a list of currently enabled directives

master
http://www.cse.unsw.edu.au/~willu/ 2008-09-18 21:52:38 -04:00 committed by Joey Hess
parent edab887e8a
commit 1861190e21
1 changed files with 7 additions and 0 deletions

View File

@ -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]]
"""]]