remove special case for shortcuts

If shortcuts are enabled, the shortcut directive will appear on the list,
and I think that's good enough.
master
Joey Hess 2008-09-11 17:08:26 -04:00
parent c69a7f7585
commit f33af231d2
1 changed files with 1 additions and 7 deletions

View File

@ -38,14 +38,8 @@ using the older syntax, if the `prefix_directives` option is not enabled.
For backward compatibility with existing wikis, this option currently For backward compatibility with existing wikis, this option currently
defaults to off, so ikiwiki supports the old syntax. defaults to off, so ikiwiki supports the old syntax.
[[!if test="enabled(shortcut)" then="""
The [[/ikiwiki/directive/shortcut]] directive allows defining simple wikilinks to
remote wikis. See the [[shortcuts]] page for a list of these shortcuts.
"""]]
[[!if test="enabled(listdirectives)" then=""" [[!if test="enabled(listdirectives)" then="""
Here is a list of available (non-[[shortcut|shortcuts]]) directives: Here is a list of available directives:
[[!listdirectives]] [[!listdirectives]]
"""]] """]]