This repository was archived by the owner on May 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauthor.hbs
More file actions
45 lines (41 loc) · 1.76 KB
/
author.hbs
File metadata and controls
45 lines (41 loc) · 1.76 KB
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
{{!< 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}}
<header class="width-100 header">
<div class="cover-pic"
{{#if cover}}
style="background: url({{cover}}{{else}}no-cover{{/if}}); background-size: cover; background-position: center; background-repeat: no-repeat;">
</div>
<div class="other-page-headers flex-row">
{{#if image}}
<a href="{{@blog.url}}">
<div class="other-page-headers-pic"
style="background: url('{{image}}'); background-size: cover;
background-position: center; background-repeat: no-repeat;">
</div>
</a>
{{/if}}
<div class="other-page-headers-meta profile-detail-section flex-1 margin-left-15">
<div>
<h1 class="main-heading">{{name}}</h1>
<h2 class="main-subheading">
{{#if bio}}
<h2>{{bio}}</h2>
{{/if}}
</h2>
{{#if location}}<span>{{location}}</span>{{/if}}
<span><i></i> {{plural ../pagination.total empty='No posts' singular='% post'
plural='% posts'}}</span>
</div>
</div>
</div>
</header>
{{navigation}}
{{/author}}
{{!-- The main content area on the homepage --}}
<main role="main">
{{!-- The tag below includes the post loop - partials/loop.hbs --}}
{{> "loop"}}
</main>