From: Jon Dowland Date: Mon, 1 Dec 2008 15:47:29 +0000 (+0000) Subject: add note to consider tagbase when trying to match tagged pages X-Git-Tag: 2.71~205 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=369f4f86bce31ce82d72d64171dc838c660ca92c;p=ikiwiki.git add note to consider tagbase when trying to match tagged pages --- diff --git a/doc/ikiwiki/directive/tag.mdwn b/doc/ikiwiki/directive/tag.mdwn index 267aee660..64736f8cd 100644 --- a/doc/ikiwiki/directive/tag.mdwn +++ b/doc/ikiwiki/directive/tag.mdwn @@ -21,6 +21,10 @@ located under a base directory, such as "tags/". This is a useful way to avoid having to write the full path to tags, if you want to keep them grouped together out of the way. +Bear in mind that specifying a tagbase means you will need to incorporate it +into the `link()` [[ikiwiki/PageSpec]] you use: e.g., if your tagbase is +`tag`, you would match pages tagged "foo" with `link(tag/foo)`. + If you want to override the tagbase for a particular tag, you can use something like this: