summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]]
+"""]]