-
-
Notifications
You must be signed in to change notification settings - Fork 159
Expand file tree
/
Copy pathtag.hbs
More file actions
24 lines (22 loc) · 703 Bytes
/
tag.hbs
File metadata and controls
24 lines (22 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{{!< default}}
{{!-- The tag above means: insert everything in this file
into the {body} of the default.hbs template --}}
{{#tag}}
<header class="page-head">
<h1 class="page-head-title">{{name}}</h1>
<p class="page-head-description">
{{#if description}}
{{description}}
{{else}}
{{plural ../pagination.total
empty=(t "A collection of 0 posts") singular=(t "A collection of 1 post")
plural=(t "A collection of {numberOfPosts} posts" numberOfPosts=../pagination.total) }}
{{/if}}
</p>
</header>
{{/tag}}
<div class="post-feed gh-feed">
{{#foreach posts}}
{{> "post-card"}}
{{/foreach}}
</div>