-
Notifications
You must be signed in to change notification settings - Fork 0
/
tag.hbs
26 lines (21 loc) · 862 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
{{!< default}}
{{! The tag above means - insert everything in this file into the {body} of the default.hbs template }}
{{! The main content area on the homepage }}
{{! The tag below includes the post loop - partials/loop.hbs }}
<section class="main main-archive">
<article class="result{{#if tag.image}} cover-image-present{{/if}}"{{#if tag.image}} style="background-image: url({{tag.image}});"{{/if}}>
<div class="inner post-inner">
<h1 class="searching">
<a href="{{@blog.url}}/tag/{{tag.slug}}/rss/">{{tag.name}}</a>
</h1>
<div class="excerpt">
{{#if tag.description}}
{{tag.description}}
{{else}}
A {{pagination.total}}-post collection
{{/if}}
</div>
</div>
</article>
{{> "loop"}}
</section>