-
-
Notifications
You must be signed in to change notification settings - Fork 107
Expand file tree
/
Copy pathtag.hbs
More file actions
31 lines (26 loc) · 1.03 KB
/
tag.hbs
File metadata and controls
31 lines (26 loc) · 1.03 KB
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
{{!< default}}
<main id="gh-main" class="gh-main gh-canvas">
{{#tag}}
<section class="gh-pagehead">
<header class="gh-pagehead-content">
<div class="gh-tag-label">{{t "Topic"}}</div>
<h1 class="gh-tag-name gh-pagehead-title">{{name}}</h1>
<div class="gh-tag-description gh-pagehead-description">
{{#if description}}
{{description}}
{{else}}
{{plural ../pagination.total
empty=(t "A collection of 0 issues") singular=(t "A collection of 1 issue")
plural=(t "A collection of {numberOfIssues} issues" numberOfIssues=../pagination.total) }}
{{/if}}
</div>
</header>
</section>
{{/tag}}
<div class="gh-feed">
{{#foreach posts}}
{{> loop}}
{{/foreach}}
</div>
<button class="gh-loadmore gh-btn">{{t "Load more issues"}}</button>
</main>