-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathauthor.hbs
59 lines (39 loc) · 1.42 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{{!< default}}
{{! The tag above means - insert everything in this file into the {body} of the default.hbs template }}
{{! The big featured header }}
{{! Everything inside the #author tags pulls data from the author }}
{{#author}}
<div class="section no-pad-bot" id="author-banner" class="{{post_class}}" >
<div class="container">
<div class="row">
<div class="col s3">
{{#if image}}
{{#if image}}<img width="150" class="responsive-img circle" src="{{image}}" alt="{{name}}" />{{/if}}
{{/if}}
</div>
<div class="col s9">
<h1 class="orange-text">{{name}}</h1>
</div>
</div>
{{#if bio}}
<p>{{bio}}</p>
{{/if}}
<div class="card">
<div class="card-content">
{{#if location}}<span class="author-location icon-location">{{location}}</span>{{/if}}
{{#if website}}<span class="author-link icon-link"><a href="{{website}}">{{website}}</a></span>{{/if}}
<span class="author-stats"><i class="icon-stats"></i> {{plural ../pagination.total empty='No posts' singular='% post' plural='% posts'}}</span>
</div>
</div>
</div>
</div>
{{/author}}
<div class="section" >
<div class="container" >
<h2>Posts</h2>
{{! The tag below includes the post loop - partials/loop.hbs }}
{{> "loop"}}
{{! Previous/next page links - displayed on every page }}
{{pagination}}
</div>
</div>