implement typed links; add tagged_is_strict config option
[ikiwiki] / doc / plugins / tag.mdwn
1 [[!template id=plugin name=tag author="[[Joey]]"]]
2 [[!tag type/tags type/link]]
3
4 This plugin provides the [[ikiwiki/directive/tag]] and 
5 [[ikiwiki/directive/taglink]] [[directives|ikiwiki/directive]].
6 These directives allow tagging pages.
7
8 It also provides the `tagged()` [[ikiwiki/PageSpec]], which can be used to
9 match pages that are tagged with a specific tag.
10
11 If the `tagged_is_strict` config option is set, `tagged()` will only match
12 tags explicitly set with [[ikiwiki/directive/tag]] or
13 [[ikiwiki/directive/taglink]]; if not (the default), it will also match
14 any other [[WikiLinks|ikiwiki/WikiLink]] to the tag page.
15
16 [[!if test="enabled(tag)" then="""
17 This wiki has the tag plugin enabled, so you'll see a note below that this
18 page is tagged with the "tags" tag.
19 """]]