forked from Azizou/Blog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tag.hbs
45 lines (36 loc) · 1.6 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{{!< default}}
<header class="blog-header">
<div class="vertical">
<h1>Posts on {{tag.name}}</h1>
</div>
</header>
<div class="wrap">
<section class="blog-content">
{{#foreach posts}}
<article class="{{post_class}}">
<header class="post-header">
<h2 class="post-title"><a href="{{url}}">{{{title}}}</a></h2>
<section class="post-meta">
<img class="author-img" src="{{author.image}}" alt="Author image" nopin="nopin" />
<span class="author-name">{{author}}</span>
•
<time datetime="{{date format='YYYY-MM-DD'}}">{{date format="D MMM YYYY"}}</time>
<span class="tags">{{tags prefix="• Subject: "}}</span>
</section>
</header>
<section class="post-excerpt">
<p>{{excerpt words="55"}}…</p>
</section>
<footer class="more-links">
<a class="read-more button-save" href="{{url}}">Read More</a>
<div class="right">
<a href="https://twitter.com/share" class="twitter-share-button" data-url="{{url absolute="true"}}" data-text="{{title}}" data-via="TryGhost" data-related="TryGhost">Tweet</a>
<div class="fb-like" data-href="{{url absolute="true"}}" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div>
</div>
</footer>
</article>
{{/foreach}}
{{pagination}}
</section>
{{> sidebar}}
</div>