forked from troyhunt/troyhunt.com-ghost-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtag.hbs
More file actions
32 lines (27 loc) · 846 Bytes
/
tag.hbs
File metadata and controls
32 lines (27 loc) · 846 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
25
26
27
28
29
30
31
32
{{!< default}}
{{! The tag above means - insert everything in this file into the {body} of the default.hbs template }}
{{! Header transparent}}
{{> header}}
<div class="tags">
<article class="tags_item wrap container">
<header class="tags_head">
<h1>{{tag.name}}</h1>
</header>
<section class="tags_description">
{{#if tag.description}}
<p>{{tag.description}}</p>
{{else}}
<p>A {{pagination.total}}-post collection</p>
{{/if}}
</section>
</article>
</div>
{{! The tag below includes the post loop - partials/loop.hbs }}
<div class="main-wrapper">
<div class="content-wrapper">
{{> "loop"}}
</div>
{{> sidebar}}
</div>
{{! Previous/next page links - displayed on every page }}
{{pagination}}