forked from TryGhost/Dawn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tag.hbs
39 lines (38 loc) · 1.51 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
39
{{!< default}}
<div class="content-area">
<main class="site-main">
{{#tag}}
<section class="tag">
<div class="container medium">
<h1 class="tag-name">{{name}}</h1>
{{#if description}}
<div class="tag-description">{{description}}</div>
{{/if}}
{{#get "tags" limit="all" filter="id:-{{id}}+visibility:public" as |tags|}}
{{#if tags}}
<div class="tag-list">
<span class="tag-list-label">More:</span>
{{#foreach tags}}
<a class="tag-list-item" href="{{url}}">{{name}}</a>
{{/foreach}}
</div>
{{/if}}
{{/get}}
</div>
{{#if feature_image}}
<div class="container">
<div class="tag-media u-placeholder horizontal">
<img class="u-object-fit" srcset="{{> srcset}}" src="{{img_url feature_image size="l"}}" alt="{{name}}">
</div>
</div>
{{/if}}
</section>
{{/tag}}
<div class="post-feed container medium">
{{#foreach posts visibility="all"}}
{{> "loop"}}
{{/foreach}}
</div>
{{pagination}}
</main>
</div>