-
-
Notifications
You must be signed in to change notification settings - Fork 157
/
Copy pathauthor.hbs
35 lines (32 loc) · 1.18 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
{{!< default}}
{{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}
{{#author}}
{{!-- Everything inside the #author tags pulls data from the author --}}
<header class="page-head">
<h1 class="page-head-title">{{name}}</h1>
{{#if bio}}
<p class="page-head-description">
{{bio}}
</p>
{{/if}}
<div class="author-meta">
<div class="author-links">
{{#if website}}
<a href="{{website}}" target="_blank" rel="noopener">Website</a> <span class="divider">/</span>
{{/if}}
{{#if twitter}}
<a href="{{twitter_url}}" target="_blank" rel="noopener">Twitter</a> <span class="divider">/</span>
{{/if}}
{{#if facebook}}
<a href="{{facebook_url}}" target="_blank" rel="noopener">Facebook</a> <span class="divider">/</span>
{{/if}}
<a href="https://feedly.com/i/subscription/feed/{{url absolute="true"}}rss/" target="_blank" rel="noopener">RSS</a>
</div>
</div>
</header>
{{/author}}
<div class="post-feed gh-feed">
{{#foreach posts}}
{{> "post-card"}}
{{/foreach}}
</div>