X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/2cf143e6beb62add190beb4761b3591822820efa..b8c82018769d55f9e00fc66495a2d3cdec98616e:/doc/plugins/map.mdwn?ds=sidebyside diff --git a/doc/plugins/map.mdwn b/doc/plugins/map.mdwn index 472f62461..9283eb4cf 100644 --- a/doc/plugins/map.mdwn +++ b/doc/plugins/map.mdwn @@ -1,7 +1,5 @@ -[[template id=plugin name=map author="Alessandro Dotti Contra"]] -[[tag type/meta]] - -[[meta description="some page description"]] +[[!template id=plugin name=map author="Alessandro Dotti Contra"]] +[[!tag type/meta]] This plugin generates a hierarchical page map for the wiki. Example usage: @@ -19,7 +17,7 @@ the [[meta]] plugin). For example: Hint: To limit the map to displaying pages less than a certain level deep, use a [[ikiwiki/PageSpec]] like this: `pages="* and !*/*/*"` -[[if test="enabled(map)" then=""" +[[!if test="enabled(map)" then=""" Here's an example map, for the plugins section of this wiki: [[!map pages="(plugins or plugins/*) and !*/*/*"]]