From 4da54999de859c505c26ff2a0a23772939caeffa Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 15 Jun 2008 19:08:50 -0400 Subject: meta: Store "description" in pagestate for use by other plugins. map: Support show=description. --- doc/plugins/map.mdwn | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'doc/plugins/map.mdwn') diff --git a/doc/plugins/map.mdwn b/doc/plugins/map.mdwn index d50c9b292..df34d77cd 100644 --- a/doc/plugins/map.mdwn +++ b/doc/plugins/map.mdwn @@ -1,6 +1,8 @@ [[template id=plugin name=map author="Alessandro Dotti Contra"]] [[tag type/meta]] +[[meta description="some page description"]] + This plugin generates a hierarchical page map for the wiki. Example usage: \[[map pages="* and !blog/* and !*/Discussion"]] @@ -9,8 +11,9 @@ If the pages to include are not specified, all pages (and other files) in the wiki are mapped. By default, the names of pages are shown in the map. The `show` parameter -can be used to show the titles of pages instead. For example: - +can be used to show the titles or descriptions of pages instead (as set by +the [[meta]] plugin). For example: + \[[map pages="* and !blog/* and !*/Discussion" show=title]] Hint: To limit the map to displaying pages less than a certain level deep, -- cgit v1.2.3