From 297ff849b93e5a75074e321fe65500f0e091601c Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 21 Jul 2008 12:31:57 +0100 Subject: Migrate doc/plugins via prefix_directives This is a partial commit of: egrep -rl '\[\[[a-z]+ ' doc | xargs --max-args 1 ./ikiwiki-transition prefix_directives --- doc/plugins/map.mdwn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/plugins/map.mdwn') diff --git a/doc/plugins/map.mdwn b/doc/plugins/map.mdwn index 472f62461..3700fadd8 100644 --- a/doc/plugins/map.mdwn +++ b/doc/plugins/map.mdwn @@ -1,7 +1,7 @@ -[[template id=plugin name=map author="Alessandro Dotti Contra"]] -[[tag type/meta]] +[[!template id=plugin name=map author="Alessandro Dotti Contra"]] +[[!tag type/meta]] -[[meta description="some page description"]] +[[!meta description="some page description"]] This plugin generates a hierarchical page map for the wiki. Example usage: @@ -19,7 +19,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 !*/*/*"]] -- cgit v1.2.3