forked from zentel/kidsblogtemp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
post.hbs
132 lines (105 loc) · 3.95 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{{!< default}}
{{#post}}
<div class="site-head-post" {{#if image}}style="background-image: url({{image}})"{{/if}}>
<div class="vertical site-head-content inner">
</div>
</div>
<header class="top-main">
<main class="site-main">
<div class="general-cont">
<div class="sez-left">
<a class="blog-logo" id="blog" href="{{@blog.url}}">
{{#if @blog.logo}}<img src="{{@blog.logo}}" alt="Blog Logo">{{/if}}
</a>
</div>
<div class="sez-right">
{{! Including the menu template (partials/menu)}}
{{> menu}}
</div>
</div>
</main>
</header>
<div class="content post-template" role="main">
<article class="{{post_class}}" data-postid="{{post.id}}">
<span class="ico-featured"></span>
<div class="sez-left sez-left-post">
<time class="date-post" datetime="{{date format='YYYY-MM-DD'}}">
<span class="month">{{date format="MMM"}}</span>
<span class="day">{{date format="DD"}}</span>
<span class="year">{{date format="YYYY"}}</span>
</time>
</div>
<div class="sez-right sez-right-post">
<header class="post-header">
<span class="post-meta">{{tags separator="-"}}</span>
<h1 class="post-title">{{{title}}}</h1>
</header>
<section class="single-post-content">
{{content}}
</section>
</div>
<footer class="post-footer">
{{#if author.name}}
{{#author}}
<section class="author">
<figure class="user-image">
<div id="user-image" class="img" {{#if image}}style="background-image: url({{image}})"{{/if}}></div>
</figure>
<div class="info-author">
<h4><a href="{{url}}">{{name}}</a></h4>
<p>
{{bio}}
</p>
</div>
</section>
{{/author}}
{{/if}}
<section class="share">
<h4>Share</h4>
<a class="icon-twitter" href="" onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
<span class="hidden">Twitter</span>
</a>
<a class="icon-facebook" href="" onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;">
<span class="hidden">Facebook</span>
</a>
<a class="icon-google-plus" href="" onclick="window.open(this.href, 'google-plus-share', 'width=490,height=530');return false;">
<span class="hidden">Google+</span>
</a>
</section>
</footer>
</article>
</div>
{{/post}}
<div class='js-related'>
<div class="" style="position:relative;overflow:hidden;">
<div class="related">
<div class="sez-right">
<p class="tit-related">Related post</p>
</div>
</div>
</div>
<div class="post-related hidden" style="position:relative;overflow:hidden;">
<div class="post-image" style="background-image:url();"></div>
<article class="post">
<div class="sez-left sez-left-post">
<time class="date-post" datetime="2014-01-15">
<span class="month"></span>
<span class="day"></span>
<span class="year"></span>
</time>
</div>
<div class="sez-right sez-right-post">
<header class="post-header">
<span class="post-meta"></span>
<h4 class="post-title"><a href="#"></a></h2>
</header>
</div>
</article>
</div>
</div>
<div class="post">{{> comment}}</div>
<nav class="pagination" role="navigation">
<div class="sez-right">
<a href="#" class="load-more-post">Back to all post</a>
</div>
</nav>