forked from brianokeefe/sheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpost.hbs
59 lines (53 loc) · 1.62 KB
/
post.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{{!< default}}
{{#post}}
<div class="pure-g-r">
<main role="main" class="pure-u-3-4">
<article class="sheet-panel sheet-post {{post_class}}">
<h1 class="sheet-post-title">{{{title}}}</h1>
<header class="sheet-post-meta">
<time datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMM YYYY"}}</time>
{{#if tags}}
<i class="fa fa-tags sheet-post-tags"></i> {{tags}}
{{/if}}
</header>
<section class="post-content">
{{content}}
</section>
</article>
</main>
{{> sidebar}}
<footer class="pure-u-3-4">
<div class="sheet-panel">
<div class="pure-g-r">
<div class="pure-u-1-4">
{{#if author.image}}
<img class="sheet-author-image" src="{{author.image}}" alt="{{author.name}}" />
{{/if}}
</div>
<div class="pure-u-3-4">
<div class="sheet-author-blurb">
<h2 class="sheet-author-name">{{author.name}}</h2>
<p class="sheet-author-bio">{{author.bio}}</p>
<p class="sheet-author-bio-sub">
{{#if author.location}}
<a href="https://maps.google.com/?q={{author.location}}" target="_blank">{{author.location}}</a>
{{/if}}
{{#if author.website}}
{{#if author.location}}
·
{{/if}}
<a href="{{author.website}}">{{author.website}}</a>
{{/if}}
</p>
</div>
</div>
<div class="pure-u-1">
<div class="sheet-author-links">
<a class="sheet-btn" href="{{@blog.url}}/rss/"><i class="fa fa-rss-square"></i> <span>Subscribe</span></a>
</div>
</div>
</div>
</div>
</footer>
</div>
{{/post}}