]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/ikiwiki/pagespec/discussion.mdwn
response
[git.ikiwiki.info.git] / doc / ikiwiki / pagespec / discussion.mdwn
index f4fdd764ed61c34c09af9df046a1a134b7d0ffe6..1ffb89d6cd5328ea1fded24e5ad87ca5e6ccd307 100644 (file)
@@ -93,6 +93,42 @@ does not seem suitable for this, as
 
 also lists the current page and all its siblings.
 
+---
+
+I am a little lost. I want to match the start page `/index.mdwn`. So I use
+
+    \[[!inline pages="/index"]]
+
+which does not work though. I also tried it in this Wiki. Just take a look at the end of the [[SandBox|sandbox]]. --[[PaulePanter]]
+
+> Unlike wikilinks, pagespecs match relative to the top of the wiki by
+> default. So lose the "/" and it will work. --[[Joey]]
+
+
 ----
 
-I'm about to post [[bugs/pagespec can't match {curly} braces]]. --Ivan Z.
+I'd like to create a collapsable tree with a map, eg
+
+* top level item
+
+* * second level item1
+
+* * * content 1
+
+* * * content 2
+
+* * * content 3
+
+* * second level item2
+
+* * second level item3
+
+
+but I can't work out how to specify "all items at this level, and all directories at ../ and all the other directories to the root
+
+any ideas?
+
+> I don't think pagespecs currently support that. How would such a made-up
+> pagespec look? I can imagine it supporting something like `glob(../*) and not
+> glob(../*/*)` to match all "directories" of the parent page, and so on up
+> to the root. --[[Joey]]