-
Notifications
You must be signed in to change notification settings - Fork 156
/
tag.hbs
39 lines (29 loc) · 1.19 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
{{!< default}}
{{! The tag above means - insert everything in this file into the {body} of the default.hbs template }}
{{! If we have a tag cover, display that - else blog cover - else nothing }}
<main class="content tag" role="main">
<div class="wrapper-background">
{{#if tag.image}}
<header class="highlight-header post-head" style="background-image: url({{tag.image}})">
test
</header>
{{else}}
<br><br><br><br>
{{/if}}
<header class="post-header">
<h1 class="post-title">{{tag.name}}</h1>
<section class="post-meta">
{{#if tag.description}}
{{tag.description}}
{{else}}
A {{pagination.total}}-post collection
{{/if}}
</section>
</header>
<h2 class="article-spacer"><span>✤</span></h2>
</div>
<div class="wrapper-content">
{{! The tag below includes the post loop - partials/loop.hbs }}
{{> "loop"}}
</div>
</main>