forked from TryGhost/Starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tag.hbs
35 lines (25 loc) · 776 Bytes
/
tag.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{{!< 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>