-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtag.hbs
More file actions
28 lines (22 loc) · 932 Bytes
/
tag.hbs
File metadata and controls
28 lines (22 loc) · 932 Bytes
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
{{!< default}}
<h1 class="archive-title">{{tag.name}}</h1>
<hr class="section-title__divider"/>
<div class="main-post-list">
<ol class="post-list">
{{#foreach posts}}
<li>
<h2 class="post-list__post-title post-title"><a href="{{url}}" title="link to {{{title}}}">{{{title}}}</a></h2>
<p class="excerpt">{{excerpt characters="250"}}…</p>
<div class="post-list__meta">
<time datetime="{{date format="DD MMM YYYY"}}" class="post-list__meta--date date">{{date
format="DD MMM YYYY"}}</time> •
<span class="post-list__meta--tags tags">{{#foreach tags}}
<a href="{{url}}" title="{{name}}">{{name}}</a>{{#if @last}}{{else}}, {{/if}}{{/foreach}}</span><a
class="btn-border-small" href={{url}}>{{t 'Read More'}}</a>
</div>
<hr class="post-list__divider"/>
</li>
{{/foreach}}
</ol>
{{pagination}}
</div>