Tag Post Archive Template

A duo of templates to display a Tag Collection as an Archive List...

tag.hbs

{{!< default}}

<div class="gh-page">
    <div class="gh-container">

        {{#tag}}
        <header class="gh-page-head">

            <h1>{{name}}</h1>

            <p>
                {{#if description}}
                    {{description}}
                {{else}}
                    A collection of {{plural ../pagination.total empty='posts' singular='% post' plural='% posts'}}
                {{/if}}
            </p>

        </header>
        {{/tag}}

        <div class="gh-content">
        {{#foreach posts}}

            {{> "card"}} {{!-- partials/postlist-item.hbs --}}

        {{/foreach}}
        </div>

    </div>
</div>

partials/postlist-item.hbs

<a href="{{url}}" class="gh-postlist-item">
    <article>
        <h2 class="gh-postlist-item-title">{{title}}</h2>
        <time class="gh-postlist-item-date" datetime="{{date format="YYYY-MM-DD"}}">{{date format="D MMM YYYY"}}</time>
        <span class="gh-postlist-item-duration">{{reading_time}}</span>
        <div class="right-arrow"><i class="fa fa-arrow-right"></i></div>
    </article>
</a>