forked from front-matter/Headline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
author.hbs
33 lines (29 loc) · 1.03 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
{{!< default}}
<main class="gh-main gh-outer">
<div class="gh-inner">
{{#author}}
<section class="gh-pagehead">
<figure class="gh-author-image">
{{#if profile_image}}
<img src="{{profile_image}}" alt="{{name}}">
{{else}}
<div class="gh-author-icon">{{> icons/avatar}}</div>
{{/if}}
</figure>
<div class="gh-pagehead-content">
<h1 class="gh-pagehead-title">{{name}}</h1>
{{#if bio}}
<div class="gh-author-bio gh-pagehead-description">{{bio}}</div>
{{/if}}
</div>
</section>
{{/author}}
<div class="gh-topic gh-topic-grid">
<div class="gh-topic-content gh-feed">
{{#foreach posts limit="all"}}
{{> "loop-grid"}}
{{/foreach}}
</div>
</div>
</div>
</main>