forked from TryGhost/Headline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
author.hbs
29 lines (29 loc) · 826 Bytes
/
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
{{!< default}}
{{#author}}
<div class="global-padding archive-section{{#if profile_image}} is-image{{/if}}">
{{#if profile_image}}
<div class="global-image-author">
{{>images/other_image other_image=profile_image alt=name}}
</div>
{{/if}}
<h1 class="archive-title global-title">{{name}}</h1>
{{#has any="location,website,facebook,twitter"}}
<div class="archive-social">
{{#if location}}
<span>{{>icons/pin}}{{location}}</span>
{{/if}}
{{#if website}}
<a href="{{website}}" aria-label="link Website" class="mx-1">{{>icons/link}}{{t "website"}}</a>
{{/if}}
{{#if twitter}}
<a href="{{twitter_url}}" aria-label="link Twitter">{{>icons/twitter}}twitter</a>
{{/if}}
</div>
{{/has}}
{{#if bio}}
<p class="archive-excerpt global-excerpt">{{bio}}</p>
{{/if}}
</div>
{{/author}}
{{>loop}}
{{pagination}}