forked from TryGhost/Edition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tag.hbs
33 lines (27 loc) · 1.04 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
{{!< default}}
<div class="content-area">
<main class="site-main">
{{#tag}}
<section class="taxonomy">
{{#if feature_image}}
<div class="taxonomy-media u-placeholder square">
<img class="u-object-fit" src="{{img_url feature_image size="s"}}" alt="{{name}}">
</div>
{{/if}}
<header class="single-header kg-canvas">
<h1 class="single-title">{{name}}</h1>
{{#if description}}
<div class="single-excerpt">{{description}}</div>
{{/if}}
</header>
</section>
{{/tag}}
<div class="post-feed container medium">
{{#foreach posts}}
{{> "loop"}}
{{/foreach}}
</div>
{{pagination}}
</main>
</div>
{{#contentFor "body_class"}}{{#if next}} paged-next{{/if}}{{#if @site.logo}}{{#if @site.cover_image}} with-alt-header{{/if}}{{/if}}{{/contentFor}}