This repository has been archived by the owner on Jul 31, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauthor.hbs
58 lines (43 loc) · 1.5 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
{{!< default}}
<div class="grid__wrap">
<div class="grid">
<div class="grid__col grid__col--3-of-3">
{{#author}}
<header class="u-ta--center">
{{#if image}}
<img src="{{ image }}" alt="{{ name }}'s Picture" class="c-img-circle c-img--120"/>
<div class="o-sp--small"></div>
{{/if}}
<h2 class="c-heading-section">{{ name }}</h2>
{{#if bio}}
<h4 class="c-heading-sub u-text-weight-thin">{{ bio }}</h4>
{{/if}}
<div class="o-sp--unit"></div>
<section class="c-meta">
{{#if location}}
<span class="c-meta__item o-sp-right--small">
<i class="fa fa-map-marker"></i>{{ location }}
</span>
{{/if}}
{{#if website}}
<span class="c-meta__item o-sp-right--small ">
<a href="{{ website }}" class="u-text-mid-grey">{{ website }}</a>
</span>
{{/if}}
<span class="c-meta__item o-sp-right--small">
<i class="fa fa-bar-chart"></i> {{plural ../pagination.total empty='No posts' singular='% post' plural='% posts'}}
</span>
</section>
<div class="o-sp--unit"></div>
</header>
{{> divider}}
{{/author}}
{{#foreach posts}}
{{> article-excerpt}}
{{/foreach}}
{{#if pagination}}
{{> pagination-footer}}
{{/if}}
</div>
</div>
</div>