-
-
Notifications
You must be signed in to change notification settings - Fork 159
Expand file tree
/
Copy pathauthor.hbs
More file actions
56 lines (53 loc) · 2.42 KB
/
author.hbs
File metadata and controls
56 lines (53 loc) · 2.42 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
{{!< 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">{{t "Website"}}</a> <span class="divider">/</span>
{{/if}}
{{#if twitter}}
<a href="{{social_url type="twitter"}}" target="_blank" rel="noopener">Twitter</a> <span class="divider">/</span>
{{/if}}
{{#if facebook}}
<a href="{{social_url type="facebook"}}" target="_blank" rel="noopener">Facebook</a> <span class="divider">/</span>
{{/if}}
{{#if linkedin}}
<a href="{{social_url type="linkedin"}}" target="_blank" rel="noopener">LinkedIn</a> <span class="divider">/</span>
{{/if}}
{{#if bluesky}}
<a href="{{social_url type="bluesky"}}" target="_blank" rel="noopener">Bluesky</a> <span class="divider">/</span>
{{/if}}
{{#if threads}}
<a href="{{social_url type="threads"}}" target="_blank" rel="noopener">Threads</a> <span class="divider">/</span>
{{/if}}
{{#if mastodon}}
<a href="{{social_url type="mastodon"}}" target="_blank" rel="noopener">Mastodon</a> <span class="divider">/</span>
{{/if}}
{{#if tiktok}}
<a href="{{social_url type="tiktok"}}" target="_blank" rel="noopener">TikTok</a> <span class="divider">/</span>
{{/if}}
{{#if youtube}}
<a href="{{social_url type="youtube"}}" target="_blank" rel="noopener">YouTube</a> <span class="divider">/</span>
{{/if}}
{{#if instagram}}
<a href="{{social_url type="instagram"}}" target="_blank" rel="noopener">Instagram</a> <span class="divider">/</span>
{{/if}}
<a href="https://feedly.com/i/subscription/feed/{{url absolute="true"}}rss/" target="_blank" rel="noopener">{{t "RSS"}}</a>
</div>
</div>
</header>
{{/author}}
<div class="post-feed gh-feed">
{{#foreach posts}}
{{> "post-card"}}
{{/foreach}}
</div>