forked from zutrinken/bleak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtag.hbs
29 lines (23 loc) · 791 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.feature_image}} has-cover{{else}}{{#if @blog.cover_image}} 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.feature_image}}
<div class="header-cover" style="background-image: url('{{img_url tag.feature_image}}');"></div>
{{else}}
{{#if @blog.cover_image}}
<div class="header-cover" style="background-image: url('{{img_url @blog.cover_image}}');"></div>
{{/if}}
{{/if}}
</header>
<div id="post-index" class="container">
<main class="content" role="main">
{{> "loop"}}
</main>
</div>