forked from zentel/kidsblogtemp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
author.hbs
95 lines (85 loc) · 3.43 KB
/
author.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
{{!< default}}
<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-container" role="main">
<article class="page-author">
<section>
<figure class="user-image">
<div id="user-image" class="img" {{#if author.image}}style="background-image: url({{author.image}})"{{/if}}></div>
</figure>
<div class="info-author">
<h4>{{author.name}}</h4>
<p>
{{author.bio}}
</p>
<div class="author-social">
<a class="ico-w-facebook" href="#" alt="facebook"></a>
<a class="ico-w-twitter" href="#" alt="twitter"></a>
<a class="ico-w-instagram" href="#" alt="instagram"></a>
<a class="ico-w-gplus" href="#" alt="google+"></a>
<a class="ico-w-linkedin" href="#" alt="linkedin"></a>
<a class="ico-w-youtube" href="#" alt="youtube"></a>
<a class="ico-w-pinterest" href="#" alt="pinterest"></a>
<a class="ico-w-behance" href="#" alt="behance"></a>
<a class="ico-w-dribbble" href="#" alt="dribbble"></a>
<a class="ico-w-flickr" href="#" alt="flickr"></a>
<a class="ico-w-github" href="#" alt="github"></a>
</div>
</div>
</section>
</article>
{{#foreach posts}}
<div class="cont-post-article fadeUp">
{{#if image}}
<div class="post-image" style="background-image:url({{image}});"></div>
{{/if}}
<article class="{{post_class}}" >
<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>
<h2 class="post-title"><a href="{{url}}">{{{title}}}</a></h2>
<span class="post-author">by {{#author}} <a href="{{url}}">{{name}}</a> {{/author}}</span>
</header>
<section class="post-excerpt">
<p> {{excerpt}}…</p>
</section>
<div class="post-info">
<a href="{{url}}" class="post-info-more">Read More</a>
<a href="{{url}}#disqus_thread" class="post-info-comment"></a>
</div>
</div>
<div class='hidden search-content'>
{{excerpt words="999999"}}
</div>
<ul class='hidden-tag-list'>
{{#each tags}}
<li>{{name}}</li>
{{/each}}
</ul>
</article>
</div>
{{/foreach}}
</div>
{{! Including the pagination template (partials/pagination)}}
{{pagination}}