diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-08-20 10:13:14 +0200 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-08-30 13:25:53 -0400 |
commit | c4d4cad3befbbd444d094cbeb0b6ebba3910a025 (patch) | |
tree | 20852ca1a585b3699e97dd713e5c667e3980bd1f /doc | |
parent | 1e7a53c70bb8c185f23f578cc6c1073b4285ccb1 (diff) | |
download | ikiwiki-c4d4cad3befbbd444d094cbeb0b6ebba3910a025.tar ikiwiki-c4d4cad3befbbd444d094cbeb0b6ebba3910a025.tar.gz |
Single dot in pagespec translates to 'current page'
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ikiwiki/pagespec.mdwn | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/ikiwiki/pagespec.mdwn b/doc/ikiwiki/pagespec.mdwn index c66395f84..7fabff9a4 100644 --- a/doc/ikiwiki/pagespec.mdwn +++ b/doc/ikiwiki/pagespec.mdwn @@ -78,3 +78,7 @@ 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". + +If you want to use the name of the page the pagespec is used in, you can use +a single dot. For example, `link(.)` matches all the pages linking to the +current page. |