-
Notifications
You must be signed in to change notification settings - Fork 0
/
author.hbs
77 lines (62 loc) · 2.04 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
{{!< default}}
{{! The tag above means - insert everything in this file into the {body} of the default.hbs template }}
<div class='wrapper'>
<div class='row row--full'>
<div class='column large-12'>
{{#author}}
<div class='box box--author'>
{{#if profile_image}}
<figure class='author-image'>
<div class='img' style='background-image: url({{ profile_image }})'><span class='hidden'>{{ name }}'s Picture</span></div>
</figure>
{{/if}}
<div class='box__body'>
<h1 class='box__title'>
<a href='{{ url }}'>{{ name }}</a>
</h1>
{{#if bio}}
<p class='box__text'>{{ bio }}</p>
{{/if}}
<div class='author-meta box__text'>
{{#if twitter}}
<div class='inline-block'>
<a href='{{ twitter_url }}' target='_blank'>
<span data-icon='ei-sc-twitter' data-size='s'></span>
</a>
</div>
{{/if}}
{{#if facebook}}
<div class='inline-block'>
<a href='{{ facebook_url }}' target='_blank'>
<span data-icon='ei-sc-facebook' data-size='s'></span>
</a>
</div>
{{/if}}
{{#if website}}
<div class='inline-block'>
<a href='{{ website }}'>
<span data-icon='ei-link' data-size='s'></span>
</a>
</div>
{{/if}}
{{#if location}}
<div class='inline-block'>
<span data-icon='ei-location' data-size='s'></span>
{{ location }}
</div>
{{/if}}
</div>
</div>
</div>
{{/author}}
</div>
</div>
<div class='row row--full'>
<div class='post-list'>
{{> loop}}
</div>
</div>
<div class='row row--full'>
{{pagination}}
</div>
</div>