forked from godofredoninja/Mapache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
author.hbs
28 lines (28 loc) · 1.27 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
{{!-- Add Layout --}}
{{!< default}}
{{#author}}
<div class="row">
<section class="Author center col s12 valign-wrapper clear{{#if cover}} z-depth-1 cover" style="background-image: url({{cover}}){{/if}}">
<div class="Author-wrap valign">
<span class="Author-line"></span>
{{!-- Avatar author --}}
<figure class="Author-profile">
<img class="Author-avatar u-avatar" src="{{#if image}}{{image}}{{else}}{{asset "img/user-image.png"}}{{/if}}" alt="{{name}}" />
</figure>
{{!-- add Info Author --}}
<article class="Author-info">
<h1 class="Author-name" >{{name}}</h1>
<p class="Author-about" itemprop="description">{{bio}}</p>
{{!-- Meta Author location website --}}
<div class="Author-meta">
{{#if location}}<span class="Author-location"><i class="mdi-communication-location-on"></i> {{location}}</span>{{/if}}
{{#if website}}<span><a class="Author-website" href="{{website}}"><i class="mdi-social-public"></i> WebSite</a></span>{{/if}}
<span class="Author-post"><i class="mdi-av-equalizer"></i> {{plural ../pagination.total empty='No Posts' singular='% Post' plural='% Posts'}}</span>
</div>
</article>
</div>
</section>
</div>
{{/author}}
{{!-- Add Loop --}}
{{> "loop"}}