-
Notifications
You must be signed in to change notification settings - Fork 0
/
author.hbs
31 lines (27 loc) · 1.41 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
{{!< default}}
{{#author}}
<header class="big author {{#if cover_image}}cover" style="background-image: url({{cover_image}});"{{else}}cover default-cover"{{/if}}>
<h1>
{{#if profile_image}}
<figure class="author-image">
<div class="img" style="background-image: url({{img_url profile_image}})"><span class="hidden">{{name}}'s picture</span></div>
</figure>
{{/if}}
{{name}}
</h1>
<div>
{{#if bio}}
<div class="meta-description">{{bio}}</div>
{{/if}}
<div class="meta">
{{#if location}}<span class="author-location icon-location"><a title="{{t "See on OpenStreetMap"}}" href="http://nominatim.openstreetmap.org/search.php?q={{location}}"><i class="fa fa-map-marker" aria-hidden="true"></i> {{location}}</a></span>{{/if}}
<span><i class="fa fa-pencil" aria-hidden="true"></i> {{plural ../pagination.total empty=(t "No article") singular=(t "% article") plural=(t "% articles")}}</span>
{{#if website}}<span class="author-link icon-link"><a href="{{website}}"><i class="fa fa-link" aria-hidden="true"></i> {{website}}</a></span>{{/if}}
</div>
</div>
</header>
{{/author}}
{{! The main content area on the homepage }}
<div id="wrapper">
{{! The tag below includes the post loop - partials/loop.hbs }}
{{> "loop"}}