From 71d984b3109e7d5ab9e7e41bb50dc00a1787dd6f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 15 Jun 2008 16:11:11 -0400 Subject: map: Add a "show" parameter. "show=title" can be used to display page titles, rather than the default page name. Based on a patch from Jaldhar H. Vyas, Closes: #484510 --- doc/plugins/map.mdwn | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/plugins/map.mdwn') diff --git a/doc/plugins/map.mdwn b/doc/plugins/map.mdwn index 44ce9edd4..d50c9b292 100644 --- a/doc/plugins/map.mdwn +++ b/doc/plugins/map.mdwn @@ -8,6 +8,11 @@ This plugin generates a hierarchical page map for the wiki. Example usage: 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: + + \[[map pages="* and !blog/* and !*/Discussion" show=title]] + Hint: To limit the map to displaying pages less than a certain level deep, use a [[ikiwiki/PageSpec]] like this: `pages="* and !*/*/*"` -- cgit v1.2.3