forked from godofredoninja/Mapache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
author.hbs
38 lines (30 loc) · 1.69 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
{{!-- Add Layout --}}
{{!< default}}
{{#author}}
<section id="cover" class="cover author u-flex-wrap">
{{#if @blog.cover_image}}<div class="cover-background lazy" data-original="{{cover_image}}"></div>{{/if}}
<article class="cover-wrap u-flex-aling-center">
<div class="author-header">
<div class="author-avatar animated bounceInDown u-not-avatar" {{#if profile_image}}style="background-image:url({{profile_image}})"{{/if}} alt="{{name}}"> </div>
<div class="author-name-wrap animated bounceIn">
<span class="author-title">Author</span>
<h1 class="author-name">{{name}}</h1>
</div>
</div>
{{#if bio}}<p class="author-bio" itemprop="description">{{bio}}</p>{{/if}}
<div class="author-meta">
{{#if location}}<span class="author-location"><i class="i-map"></i> {{location}}</span>{{/if}}
{{#if website}}<span class="author-link"><i class="i-link"></i> <a href="{{website}}">{{website}}</a></span>{{/if}}
<span class="author-stats"><i class="i-feed"></i> {{plural ../pagination.total empty='No posts' singular='% post' plural='% posts'}}</span>
</div>
{{!-- Author location website --}}
<div class="author-follow">
{{#if facebook}}<a href="{{facebook_url}}" title="Facebook" target="_blank"><i class="i-facebook"></i> Facebook</a>{{/if}}
{{#if twitter}}<a href="{{twitter_url}}" title="{{twitter}}" target="_blank"><i class="i-twitter"></i> Twitter</a>{{/if}}
</div>
</article>
<a href="#ScrollBody" class="scrolltop mouse u-h-b-md"><span class="scroll"></span></a>
</section>
{{/author}}
{{!-- Add Loop --}}
{{> "loop"}}