forked from TryGhost/Dawn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tag.hbs
35 lines (24 loc) · 768 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}}
<main class="site-main">
{{#tag}}
<section class="tag">
<div class="gh-canvas">
<h1 class="tag-name">{{name}}</h1>
{{#if description}}
<div class="tag-description">{{description}}</div>
{{/if}}
{{#if feature_image}}
<div class="tag-media u-placeholder horizontal kg-width-wide">
<img class="u-object-fit" srcset="{{> srcset}}" src="{{img_url feature_image size="l"}}" alt="{{name}}">
</div>
{{/if}}
</div>
</section>
{{/tag}}
<div class="post-feed gh-feed gh-canvas">
{{#foreach posts}}
{{> "loop"}}
{{/foreach}}
</div>
{{pagination}}
</main>