summaryrefslogtreecommitdiff
path: root/doc/ikiwiki
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-02-19 18:54:25 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-02-19 18:54:25 -0500
commitf813b10fef13682c95ada9c9a9ccf05ff602c172 (patch)
tree85402ea3875c99358d54819edcc46b71f5b122ca /doc/ikiwiki
parente611d4cdc10d2fb66d41ec8e101e6e35ddc9fdbf (diff)
rename tag() to tagged(); add docs
Diffstat (limited to 'doc/ikiwiki')
-rw-r--r--doc/ikiwiki/pagespec.mdwn3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/ikiwiki/pagespec.mdwn b/doc/ikiwiki/pagespec.mdwn
index 86abe5745..b476bde1f 100644
--- a/doc/ikiwiki/pagespec.mdwn
+++ b/doc/ikiwiki/pagespec.mdwn
@@ -25,6 +25,7 @@ match all pages except for Discussion pages and the SandBox:
Some more elaborate limits can be added to what matches using these functions:
* "`link(page)`" - match only pages that link to a given page (or glob)
+* "`tagged(tag)`" - match pages that are tagged or link to the given tag (or glob)
* "`backlink(page)`" - match only pages that a given page links to
* "`creation_month(month)`" - match only pages created on the given month
* "`creation_day(mday)`" - or day of the month
@@ -65,7 +66,7 @@ More complex expressions can also be created, by using parentheses for
grouping. For example, to match pages in a blog that are tagged with either
of two tags, use:
- blog/* and (link(tag/foo) or link(tag/bar))
+ blog/* and (tagged(foo) or tagged(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