From feee9f4abfe7749f5522cfb93027ee1298bb2abd Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 23 Mar 2021 12:03:51 +0100 Subject: sync with ikiwiki 3.20190207 --- ikiwiki/pagespec.mdwn | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ikiwiki') diff --git a/ikiwiki/pagespec.mdwn b/ikiwiki/pagespec.mdwn index 0f298ad..59a0506 100644 --- a/ikiwiki/pagespec.mdwn +++ b/ikiwiki/pagespec.mdwn @@ -69,6 +69,10 @@ want to combine expression like that; "or" when it's enough for a page to match one expression. Note that it doesn't make sense to say "index and SandBox", since no page can match both expressions. +If you want to include only one level of subpages, you can use + + blog/* and !blog/*/* + More complex expressions can also be created, by using parentheses for grouping. For example, to match pages in a blog that are tagged with either of two tags, use: -- cgit v1.2.3