Collection: detail pages

The collection adapter takes a page with a collection of entries, and generates a detail page for each entry in the collection.

    template: examples/detail
        example: collection.yml
            variable: example
            field: id

Furthermore, an extra variable called browse is added. This variable holds the information to browse through detail pages. The browse variable has two keys: next and prev.

{if $browse.prev}
    <a class="prev" href="/guide/{$}">
        Previous: {$browse.prev.title|strtolower}

{if $}
    <a class="next" href="/guide/{$}">
        Next: {$|strtolower}