The trailitems
directive is supplied by the
[[!iki plugins/trail desc=trail]] plugin. It adds pages
to the trail represented by the current page, without producing any output
on that page.
[[!trailitems pages="posts/*" sort="age"]]
[[!trailitems pagenames="a b c"]]
Options are similar to [[!iki ikiwiki/directive/inline desc=inline]]:
pages
: adds pages that match a PageSpec to the trail (cannot be used withpagenames
)pagenames
: if used instead ofpages
, this is interpreted as a space-separated list of absolute page names (LinkingRules are not taken into account) to add to the trailsort
: add the pages matched bypages
to the trail in this sorting order (cannot be used withpagenames
)reverse
: reverse the order ofsort
(cannot be used withpagenames
)