1 The `trailitems` directive is supplied by the
2 [[!iki plugins/contrib/trail desc=trail]] plugin. It adds pages
3 to the trail represented by the current page, without producing any output
6 \[[!trailitems pages="posts/*" sort="age"]]
8 \[[!trailitems pagenames="a b c"]]
10 Options are similar to [[!iki ikiwiki/directive/inline desc=inline]]:
12 * `pages`: adds pages that match a [[ikiwiki/PageSpec]] to the trail
13 (cannot be used with `pagenames`)
15 * `pagenames`: adds a space-separated list of pages to the trail,
16 with the same [[ikiwiki/SubPage/LinkingRules]] as for a [[ikiwiki/WikiLink]]
17 (cannot be used with `pages`)
19 * `sort`: add the pages matched by `pages` to the trail in this
20 [[ikiwiki/pagespec/sorting]] order (cannot be used with `pagenames`)
22 * `reverse`: reverse the order of `sort` (cannot be used with `pagenames`)
24 [[!meta robots="noindex, follow"]]