<LinkTo @route="tag" @model={{tag}} class="gh-list-data gh-tag-list-title" @title="Edit tag">
    <h3 class="gh-tag-list-name">
        {{this.tag.name}}
    </h3>
    {{#if this.description}}
        <p class="ma0 pa0 f8 midgrey gh-tag-list-description">
            {{this.description}}
        </p>
    {{/if}}
</LinkTo>

<LinkTo @route="tag" @model={{tag}} class="gh-list-data middarkgrey f8 gh-tag-list-slug gh-list-cellwidth-10" @title="Edit tag">
    <span title="{{this.slug}}">{{this.slug}}</span>
</LinkTo>

{{#if this.postsCount}}
    <LinkTo @route="posts" @query={{hash type=null author=null tag=tag.slug order=null}} class="gh-list-data blue gh-tag-list-posts-count gh-list-cellwidth-10 f8" @title={{concat "List posts tagged with '" this.tag.name "'"}}>
        <span class="nowrap">{{this.postsLabel}}</span>
    </LinkTo>
{{else}}
    <LinkTo @route="tag" @model={{tag}} class="gh-list-data gh-tag-list-posts-count gh-list-cellwidth-10" @title="Edit tag">
        <span class="nowrap f8 midlightgrey">{{this.postsLabel}}</span>
    </LinkTo>
{{/if}}

<LinkTo @route="tag" @model={{tag}} class="gh-list-data gh-list-cellwidth-min gh-tag-list-chevron" @title="Edit tag">
    <div class="flex items-center justify-end w-100 h-100">
        <span class="nr2">{{svg-jar "arrow-right" class="w6 h6 fill-midgrey pa1"}}</span>
    </div>
</LinkTo>