-
Notifications
You must be signed in to change notification settings - Fork 7
/
post.hbs
103 lines (53 loc) · 1.66 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{{!< default}}
{{> header}}
<main class="main_pixel post" role="main">
{{#post}}
<div id="trampezium"></div>
<article class="article_pixel" role="article" itemscope itemtype="https://schema.org/Article" style="display:table;">
<header class="postheader_pixel">
<time class="date_pixel" datetime="{{date format="YYYY-MM-DD"}}" itemprop="datePublished">
<span class="icon-clock"></span>{{date format='dddd DD MMM YYYY'}}
</time>
<h1 class="posttitle_pixel" itemprop="headline">
{{title}}
</h1>
</header>
<div class="postcontent_pixel" itemprop="articleBody">
{{content}}
</div>
{{#if tags}}
<div class="posttags_pixel">
<p><span class="icon-tag"></span> {{tags separator=" | "}}</p>
</div>
{{/if}}
{{#if author.bio}}
<footer class="postfooter_pixel">
<address itemscope itemtype="https://schema.org/Person">
<p class="footer_header">Author:</p>
{{#if author.cover}}
<div class="authorimage_pixel"><img src="{{author.cover}}" itemprop="image" /></div>
{{/if}}
<h4 class="authorname_pixel"><span itemprop="author">
{{author.name}}
</span></h4>
{{#if author.website}}
<div class="authorwebsite_pixel"><a href="{{author.website}}" itemprop="url">
{{author.website}}
</a></div>
{{/if}}
</address>
<div class="authorbio_pixel">
<p class="footer_header">Bio:</p>
<p>{{author.bio}}</p>
</div>
</footer>
{{/if}}
</article>
{{/post}}
{{#if pagination}}
<div class="pagination_pixel">
{{{pagination}}}
</div>
{{/if}}
</main>
{{> footer}}