-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-tags.hbs
36 lines (31 loc) · 945 Bytes
/
page-tags.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
{{!< default}}
{{#post}}
<header class="site-archive-header">
{{> site-header }}
{{> header-background background=feature_image }}
<div class="inner site-header-content">
<h1 class="site-title">{{title}}</h1>
<h2 class="site-description">
{{#if excerpt}} {{!-- usually content, but for these pages, excerpt --}}
{{excerpt}}
{{else}}
Welcome to my world...
{{/if}}
</h2>
</header>
{{/post}}
<main id="site-main" class="site-main outer" role="main">
{{#get 'tags' limit='all' include='count.posts' order='count.posts desc'}}
<div class="mantha-card-list">
{{#foreach tags}}
<div class="mantha-card">
<a href='{{ url }}'>
<h2>{{ name }} <small>({{ count.posts }})</small></h2>
<img src='{{ img_url feature_image size="s"}}' alt='{{ title }}'/>
<p> {{ description }} </p>
</a>
</div>
{{/foreach}}
</div>
{{/get}}
</main>