diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-12 02:44:47 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-12 02:44:47 +0000 |
commit | 479c7a1ea62d8fce3ef54f9deae89230d0b52a5d (patch) | |
tree | f8932f522aa856e9cf35d7db3420d491dd05518e /doc/plugins/linkmap.mdwn | |
parent | fe62c0ff209bbf01a3e5eb4a7b9f3b3d99acebca (diff) | |
download | ikiwiki-479c7a1ea62d8fce3ef54f9deae89230d0b52a5d.tar ikiwiki-479c7a1ea62d8fce3ef54f9deae89230d0b52a5d.tar.gz |
* Allow plugins to add new types of tests that can be used in PageSpecs.
* Add a "conditional" plugin, which allows displaying text if a condition
is true. It is enabled by default so conditional can be used in the
basewiki.
* Use conditionals in the template for plugins, so that plugin pages
say if they're currently enabled or not, and in various other places
in the wiki.
Diffstat (limited to 'doc/plugins/linkmap.mdwn')
-rw-r--r-- | doc/plugins/linkmap.mdwn | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/plugins/linkmap.mdwn b/doc/plugins/linkmap.mdwn index e0eda9289..50d197f2f 100644 --- a/doc/plugins/linkmap.mdwn +++ b/doc/plugins/linkmap.mdwn @@ -22,9 +22,8 @@ directive: in inches. Both must be specified for the limiting to take effect, otherwise the map's size is not limited. -This plugin is included in ikiwiki, but is not enabled by default. - -If this plugin is enabled, here is a link map of the index page and all -pages it links to: +[[if test="enabled(linkmap)" then=""" +Here is an example link map, of the index page and all pages it links to: [[linkmap pages="index or (backlink(index) and !*.png)"]] +"""] |