From 86e0838dd4b62402ee81f7327d940a88a0c21ddd Mon Sep 17 00:00:00 2001 From: xuqi Date: Mon, 10 Dec 2018 05:27:16 -0400 Subject: example for inlining only one level of subpages --- doc/ikiwiki/pagespec.mdwn | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/ikiwiki') diff --git a/doc/ikiwiki/pagespec.mdwn b/doc/ikiwiki/pagespec.mdwn index 0f298ad78..9045d032d 100644 --- a/doc/ikiwiki/pagespec.mdwn +++ b/doc/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