]> sipb.mit.edu Git - ikiwiki.git/blobdiff - basewiki/pagespec.mdwn
web commit by JoshTriplett: You rock mightily.
[ikiwiki.git] / basewiki / pagespec.mdwn
index b2b913537da700808994beac6861a0942facff28..53519e7f02d798976311c847beca3c8e188e1891 100644 (file)
@@ -45,6 +45,12 @@ of two tags, use:
 
        blog/* and (link(tag/foo) or link(tag/bar))
 
+Note that page names in PageSpecs are matched against the absolute
+filenames of the pages in the wiki, so a pagespec "foo" used on page
+"a/b" will not match a page named "a/foo" or "a/b/foo". To match
+relative to the directory of the page containing the pagespec, you can
+use "./". For example, "./foo" on page "a/b" matches page "a/foo".
+
 ## Old syntax
 
 The old PageSpec syntax was called a "GlobList", and worked differently in