diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-05-15 16:42:19 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-05-15 16:42:19 -0400 |
commit | 2612595a0c2fef24de733a175e55c9e30455f350 (patch) | |
tree | 0f51bff24fe05dad8e9e0658aff2028b2226b06d /doc/ikiwiki/directive | |
parent | 9224fd47340e46c3f0838f3f95a15688855197bc (diff) |
response
Diffstat (limited to 'doc/ikiwiki/directive')
-rw-r--r-- | doc/ikiwiki/directive/map/discussion.mdwn | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/ikiwiki/directive/map/discussion.mdwn b/doc/ikiwiki/directive/map/discussion.mdwn index d0809188f..6d44733ac 100644 --- a/doc/ikiwiki/directive/map/discussion.mdwn +++ b/doc/ikiwiki/directive/map/discussion.mdwn @@ -42,3 +42,23 @@ On the top-level index page, or on any other page that is neither a topic nor a Is there any way to do that? I don't mind mucking around with `\[[!meta]]` on every page if that's what it takes. -- Zack + +> I think that you're looking for this: +> +> pages="((Topic*/* or Topic*) and ./*) or (Topic* and ! Topic*/*)" +> +> Let's pull that [[PageSpec]] apart. +> +> * `(Topic*/* or Topic*)` matches all pages that are underneath a Topic +> page or are a topic page themselves. +> * `and ./*` further adds the limitation that the pages have to be +> in the same directory as the page that is displaying the map. So, +> for `Topic_A/Page_1`, it will match `Topic_A/*`; for `Topic_A`, +> it will match `Topic_*` but not subpages. +> * Finally, `Topic* and ! Topic*/*` matches all the toplevel topic pages, +> since we always want those to show up. +> +> I haven't tested that this works or displays, but I hope it gets you +> on the right track. PS, be aware of +> [[this_sidebar_issue|todo/Post-compilation_inclusion_of_the_sidebar]]! +> --[[Joey]] |