-
Notifications
You must be signed in to change notification settings - Fork 0
/
tag.hbs
executable file
·38 lines (35 loc) · 1.01 KB
/
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
36
37
38
{{!< default}}
{{#tag}}
<header class="tag-header">
<div class="inner-wide">
<div class="tag-header-content">
<div class="tag-header-center">
<h1 class="tag-title">
{{#if meta_title}}
{{meta_title}}
{{else}}
{{name}}
{{/if}}
</h1>
<h2 class="tag-description">
{{#if description}}
{{description}}
{{else}}
{{plural ../pagination.total empty=(t "A collection of posts") singular=(t "A collection of % posts") plural=(t "A collection of % posts")}}
{{/if}}
</h2>
</div>
</div>
</div>
</header>
{{/tag}}
<main id="site-main" class="main-content">
<div class="inner-wide">
<div>
{{#foreach posts}}
{{> "post-card"}}
{{/foreach}}
</div>
</div>
</main>
{{pagination}}