]> sipb.mit.edu Git - ikiwiki.git/commitdiff
re-add demo, was lost in will's changes
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 11 Sep 2008 21:44:46 +0000 (17:44 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 11 Sep 2008 21:44:46 +0000 (17:44 -0400)
doc/plugins/map.mdwn

index f4dd91e48a3ca5113be1a462aae69324e91f813b..8f5a9f15e23cb2477fcaffe26d36c0cb99b6d1ac 100644 (file)
@@ -1,5 +1,11 @@
 [[!template id=plugin name=map author="Alessandro Dotti Contra"]]
 [[!tag type/meta]]
 
-This plugin implements the [[ikiwiki/directive/map]] [[ikiwiki/directive]].
-The directive generates a hierarchical page map for the wiki.
+This plugin provides the [[ikiwiki/directive/map]] [[ikiwiki/directive]],
+which generates a hierarchical page map for the wiki.
+
+[[!if test="enabled(map)" then="""
+Here's an example map, for the plugins section of this wiki:
+
+[[!map pages="(plugins or plugins/*) and !*/*/*"]]
+"""]]