]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/ikiwiki/pagespec/discussion.mdwn
Match start page `/index` does not work.
[ikiwiki.git] / doc / ikiwiki / pagespec / discussion.mdwn
index 5788d4aed8f5a1e0eaa87c011bf7696811bbae74..1aac47fa4c95be6a8b661516f93df0759a5983e3 100644 (file)
@@ -83,3 +83,20 @@ locks out all users.
 >> machines.  Both are running the most recent release of ikiwiki in 
 >> pkgsrc - 2.66.  Perhaps an update to a newer version would solve the issue.
 
+----
+
+Is there a way to refer to all subpages of the current page, if  the name of the 
+current page is not known (i.e. the pagespec is used in a template)? The ./ syntax
+does not seem suitable for this, as
+
+> \[[!map pages="./*"]]
+
+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]]