-
Notifications
You must be signed in to change notification settings - Fork 0
/
author.hbs
49 lines (36 loc) · 1.06 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
{{!< default}}
{{> content-header}}
{{#author}}
<section class="author-profile container">
{{#if profile_image}}
<img class="author-profile__image" src="{{profile_image}}" alt="{{name}}’s profile image" />
{{/if}}
<h1 class="author-profile__name">{{name}}</h1>
{{#if bio}}
<p class="author-profile__bio">{{bio}}</p>
{{else}}
<p class="author-profile__bio">
To let their work speak for itself, {{name}} has not written a bio.
</p>
{{/if}}
<div class="author-profile__meta">
{{#if location}}
<span class="author-info__location inline-block">
{{location}}
</span>
 
{{/if}}
{{#if website}}
<span class="author-info__website inline-block">
<a href="{{website}}"><strong>{{website}}</strong></a>
</span>
 
{{/if}}
</div>
</section>
{{/author}}
{{! The main content area on the homepage }}
<main class="content">
{{! The tag below includes the post loop - partials/loop.hbs }}
{{> "loop"}}
</main>