forked from TryGhost/Alto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauthor.hbs
37 lines (36 loc) · 1.16 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
{{!< default}}
{{#author}}
{{#contentFor "background_cover"}}
{{>images/background_cover background_cover=cover_image}}
{{/contentFor}}
<div class="archive-section{{#if profile_image}} is-profile-image{{/if}}">
{{#if profile_image}}
<div class="archive-image global-image">
{{>images/archive_image archive_image=profile_image alt=name}}
</div>
{{/if}}
<h1 class="global-title-large">{{name}}</h1>
<span class="archive-counter">{{plural ../pagination.total empty=(t "No posts") singular=(t "1 post") plural=(t "% posts")}}</span>
{{#has any="location,website,facebook,twitter"}}
<div class="archive-social">
{{#if location}}
<span>{{>icons/site/pin}}{{location}}</span>
{{/if}}
{{#if website}}
<a href="{{website}}" aria-label="link Website">{{>icons/site/link}}{{t "Website"}}</a>
{{/if}}
{{#if facebook}}
<a href="{{facebook_url}}" aria-label="link Facebook">{{>icons/social/facebook}}Facebook</a>
{{/if}}
{{#if twitter}}
<a href="{{twitter_url}}" aria-label="link Twitter">{{>icons/social/twitter}}Twitter</a>
{{/if}}
</div>
{{/has}}
{{#if bio}}
<p class="archive-description">{{bio}}</p>
{{/if}}
</div>
{{/author}}
{{>loop}}
{{pagination}}