forked from zutrinken/bleak
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtag.hbs
29 lines (23 loc) · 733 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
{{!< default}}
<header id="header" class="header{{#if tag.image}} has-cover{{else}}{{#if @blog.cover}} has-cover{{/if}}{{/if}}">
<div class="inner">
<span class="header-title">
<h1 class="header-name">{{tag.name}} <em>{{pagination.total}}</em></h1>
{{#if tag.description}}
<span class="header-description">{{tag.description}}</span>
{{/if}}
</span>
</div>
{{#if tag.image}}
<div class="header-cover" style="background-image: url('{{tag.image}}');"></div>
{{else}}
{{#if @blog.cover}}
<div class="header-cover" style="background-image: url('{{@blog.cover}}');"></div>
{{/if}}
{{/if}}
</header>
<div id="post-index" class="container">
<main class="content" role="main">
{{> "loop"}}
</main>
</div>