36 lines
776 B
Handlebars
36 lines
776 B
Handlebars
{{!< 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>
|
|
|
|
{{#if feature_image}}
|
|
<img class="gh-page-image" src="{{feature_image}}" alt="{{name}}" />
|
|
{{/if}}
|
|
|
|
</header>
|
|
{{/tag}}
|
|
|
|
<div class="gh-postfeed">
|
|
{{#foreach posts}}
|
|
|
|
{{> "card"}} {{!-- partials/card.hbs --}}
|
|
|
|
{{/foreach}}
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|