-
-
Notifications
You must be signed in to change notification settings - Fork 102
Expand file tree
/
Copy pathauthor.hbs
More file actions
67 lines (64 loc) · 3.44 KB
/
author.hbs
File metadata and controls
67 lines (64 loc) · 3.44 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{{!< 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 location}}
<div class="gh-author-location">{{location}}</div>
{{/if}}
{{#if bio}}
<div class="gh-author-bio gh-pagehead-description">{{bio}}</div>
{{/if}}
<div class="gh-author-social">
{{#if twitter}}
<a class="gh-author-social-link" href="{{social_url type="twitter"}}" target="_blank" rel="noopener">{{> "icons/twitter"}}</a>
{{/if}}
{{#if facebook}}
<a class="gh-author-social-link" href="{{social_url type="facebook"}}" target="_blank" rel="noopener">{{> "icons/facebook"}}</a>
{{/if}}
{{#if linkedin}}
<a class="gh-author-social-link" href="{{social_url type="linkedin"}}" target="_blank" rel="noopener">{{> "icons/linkedin"}}</a>
{{/if}}
{{#if bluesky}}
<a class="gh-author-social-link" href="{{social_url type="bluesky"}}" target="_blank" rel="noopener">{{> "icons/bluesky"}}</a>
{{/if}}
{{#if threads}}
<a class="gh-author-social-link" href="{{social_url type="threads"}}" target="_blank" rel="noopener">{{> "icons/threads"}}</a>
{{/if}}
{{#if mastodon}}
<a class="gh-author-social-link" href="{{social_url type="mastodon"}}" target="_blank" rel="noopener">{{> "icons/mastodon"}}</a>
{{/if}}
{{#if tiktok}}
<a class="gh-author-social-link" href="{{social_url type="tiktok"}}" target="_blank" rel="noopener">{{> "icons/tiktok"}}</a>
{{/if}}
{{#if youtube}}
<a class="gh-author-social-link" href="{{social_url type="youtube"}}" target="_blank" rel="noopener">{{> "icons/youtube"}}</a>
{{/if}}
{{#if instagram}}
<a class="gh-author-social-link" href="{{social_url type="instagram"}}" target="_blank" rel="noopener">{{> "icons/instagram"}}</a>
{{/if}}
{{#if website}}
<a class="gh-author-social-link" href="{{website}}" target="_blank" rel="noopener">{{> "icons/website"}}</a>
{{/if}}
</div>
</div>
</section>
{{/author}}
<div class="gh-topic gh-topic-grid">
<div class="gh-topic-content gh-feed">
{{#foreach posts}}
{{> "loop-grid"}}
{{/foreach}}
</div>
</div>
</div>
</main>