aboutsummaryrefslogtreecommitdiff
path: root/doc/forum
diff options
context:
space:
mode:
authorsmcv <smcv@web>2017-05-14 06:41:21 -0400
committeradmin <admin@branchable.com>2017-05-14 06:41:21 -0400
commitd49aefdb19b3363dc27da51779b7e07a399718e7 (patch)
tree861175883f9d81be3f288ac978599e18eb0e302f /doc/forum
parentb919f1c3d4a251e83bce9e87c88de54f0eee2f38 (diff)
downloadikiwiki-d49aefdb19b3363dc27da51779b7e07a399718e7.tar
ikiwiki-d49aefdb19b3363dc27da51779b7e07a399718e7.tar.gz
fix syntax
Diffstat (limited to 'doc/forum')
-rw-r--r--doc/forum/Limit_pagespec_to_a_certain_depth.mdwn2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/forum/Limit_pagespec_to_a_certain_depth.mdwn b/doc/forum/Limit_pagespec_to_a_certain_depth.mdwn
index b1d7e49bb..75a5b9ca9 100644
--- a/doc/forum/Limit_pagespec_to_a_certain_depth.mdwn
+++ b/doc/forum/Limit_pagespec_to_a_certain_depth.mdwn
@@ -1 +1 @@
-I'd like my index page of my wiki to show me a list of all the files in the wiki's root and only the names of "folder-pages" (those pages that are named the same way as the folders). I used the map directive to create a list, but I can't come up with a way to limit the depth of the pagespec, so everything inside of the folders is matched and listed as well, which is not what I want. Is there a way to limit the page spec's depth or make it exclude pages in subfolders? I tried `[[!map pages="page(* and !*/*)"]]` or `[[!map pages="page(* and !foobar/*)"]]`, but both exclude the "folder-pages" (either all of them (first case) or the ones that I have specified (second case)).
+I'd like my index page of my wiki to show me a list of all the files in the wiki's root and only the names of "folder-pages" (those pages that are named the same way as the folders). I used the map directive to create a list, but I can't come up with a way to limit the depth of the pagespec, so everything inside of the folders is matched and listed as well, which is not what I want. Is there a way to limit the page spec's depth or make it exclude pages in subfolders? I tried `\[[!map pages="page(* and !*/*)"]]` or `\[[!map pages="page(* and !foobar/*)"]]`, but both exclude the "folder-pages" (either all of them (first case) or the ones that I have specified (second case)).