forked from godofredoninja/Paway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauthor.hbs
32 lines (26 loc) · 1.35 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
{{!< default}}
{{!-- The tag above means: insert everything in this file
into the {body} of the default.hbs template --}}
{{#author}}
<div class="page-hero">
<header class="page-hero-header u-maxWidth768 u-marginAuto">
<div class="page-hero-subtitle u-text-muted">{{plural ../pagination.total empty=(t "posts") singular=(t "% post") plural=(t "% posts")}} {{t "By"}}</div>
<h1 class="page-hero-title">{{t "Author"}}: {{name}}</h1>
{{#if bio}}<p class="page-hero-description">{{bio}}</p>{{/if}}
{{#has any="twitter, facebook, website"}}
<div class="post-author-meta">
<ul class="">
<li>{{t "follow me"}}</li>
{{#if facebook}}<li><a class="post-author-meta-link" href="{{facebook_url}}" title="Facebook" target="_blank" rel="noopener noreferrer">Facebook</a></li>{{/if}}
{{#if twitter}}<li><a class="post-author-meta-link" href="{{twitter_url}}" title="Twitter" target="_blank" rel="noopener noreferrer">Twitter</a></li>{{/if}}
{{#if website}}<li><a class="post-author-meta-link" href="{{website}}" title="Website" target="_blank" rel="noopener noreferrer">Website</a></li>{{/if}}
</ul>
</div>
{{/has}}
</header>
</div>
{{/author}}
{{!-- All Story - partials/loop.hbs --}}
{{> "loop"}}
{{!-- Pagination --}}
{{"pagination"}}