1 This sounds like a more general version of what I want for
2 one-photo-per-page galleries, where each page has previous|up|next links
3 (like this plugin) and the index page has a list or grid of thumbnails
4 (\[[!inline]] with a specially modified template perhaps). I'll watch this
5 with interest! --[[smcv]]
7 This is a nice idea, I do have my gripes about the imeplementation.
9 Assuming that the index's list is in mdwn format is not ideal. I guess the
10 other way to do it would be to make the index be a directive, something
11 like: \[[!trail pages="foo bar baz"]]. Assuming that a flat trail structure
12 is enough, otherwise you'd have to get more fancy.
14 The trailinclude seems a bit redundant with inline, and wanting to inline
15 together all pages in a trail for printing or whatever seems like an
16 unusual use case anyway?
18 The !trail directive could be simplified to just \[[!trail my_indexpage]].
19 But I wonder if needing to add this directive to every page is the best
20 approach. Alternate approach would be to make the trail index cause
21 breadcrums to be automatically inserted at the top of every page on the
22 trail. (You'd have to use a directive to define the index for that to work.)