-
Notifications
You must be signed in to change notification settings - Fork 0
/
tag.hbs
25 lines (19 loc) · 952 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
{{!< default}}
<h1 class="archive-title">Tag: {{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="YYYY年MM月DD日"}}" class="post-list__meta--date date">{{date format="YYYY年MM月DD日"}}</time> {{#if tags}}•{{/if}}
<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}}>继续阅读</a>
</div>
<hr class="post-list__divider" />
</li>
{{/foreach}}
</ol>
{{pagination}}
</div>