-
Notifications
You must be signed in to change notification settings - Fork 0
/
author.hbs
46 lines (40 loc) · 1.72 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
{{!< default}}
<main id="gh-main" class="gh-main gh-canvas">
{{#author}}
<section class="gh-pagehead">
{{#if profile_image}}
<img class="gh-author-image gh-pagehead-image" src="{{profile_image}}" alt="{{name}}">
{{else}}
<span class="gh-author-icon">{{> icons/avatar}}</span>
{{/if}}
<header class="gh-pagehead-content">
<h1 class="gh-author-name gh-pagehead-title">{{name}}</h1>
{{#if bio}}
<div class="gh-author-bio gh-pagehead-description">{{bio}}</div>
{{/if}}
<div class="gh-author-meta">
{{#if location}}
<span class="gh-author-location">📍 {{location}}</span>
{{/if}}
{{#if website}}
<a class="gh-author-website" href="{{website}}" target="_blank" rel="noopener">{{website}}</a>
{{/if}}
<div class="gh-author-social">
{{#if twitter}}
<a class="gh-author-twitter" href="{{twitter_url}}" target="_blank" rel="noopener">{{> icons/twitter}}</a>
{{/if}}
{{#if facebook}}
<a class="gh-author-facebook" href="{{facebook_url}}" target="_blank" rel="noopener">{{> icons/facebook}}</a>
{{/if}}
</div>
</div>
</header>
</section>
{{/author}}
<div class="gh-feed">
{{#foreach posts}}
{{> loop}}
{{/foreach}}
</div>
<button class="gh-loadmore gh-btn">Load more issues</button>
</main>