1 The `tag` and `taglink` directives are supplied by the [[!iki plugins/tag desc=tag]] plugin.
3 These directives allow tagging pages. List tags as follows:
5 \[[!tag tech life linux]]
7 The tags work the same as if you had put a (hidden) [[ikiwiki/WikiLink]] on
8 the page for each tag, so you can use a [[ikiwiki/PageSpec]] match all
9 pages that are tagged with a given tag, for example. The tags will also
10 show up on blog entries and at the bottom of the tagged pages, as well as
11 in RSS and Atom feeds.
13 If you want a visible [[ikiwiki/WikiLink]] along with the tag, use taglink
17 \[[!taglink tagged_as_foo|foo]]
19 Note that if the wiki is configured to use a tagbase, then the tags will be
20 located under a base directory, such as "tags/". This is a useful way to
21 avoid having to write the full path to tags, if you want to keep them
22 grouped together out of the way. Also, since ikiwiki then knows where to put
23 tags, it will automatically create tag pages when new tags are used.
25 Bear in mind that specifying a tagbase means you will need to incorporate it
26 into the `link()` [[ikiwiki/PageSpec]] you use: e.g., if your tagbase is
27 `tag`, you would match pages tagged "foo" with `link(tag/foo)`.
29 If you want to override the tagbase for a particular tag, you can use
35 [[!meta robots="noindex, follow"]]