aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxuqi <xuqi@web>2018-12-10 05:27:16 -0400
committeradmin <admin@branchable.com>2018-12-10 05:27:16 -0400
commit86e0838dd4b62402ee81f7327d940a88a0c21ddd (patch)
tree9593a27717daa8c4dc42e7344034a7db01c3fad4
parent95b5ec74a915eaf71bfaaed48b590495b58f97fb (diff)
downloadikiwiki-86e0838dd4b62402ee81f7327d940a88a0c21ddd.tar
ikiwiki-86e0838dd4b62402ee81f7327d940a88a0c21ddd.tar.gz
example for inlining only one level of subpages
-rw-r--r--doc/ikiwiki/pagespec.mdwn4
1 files changed, 4 insertions, 0 deletions
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: