Repository navigation
Expand file tree
/
Copy pathauthor.hbs
More file actions
49 lines (43 loc) · 1.69 KB
/
Copy pathauthor.hbs
File metadata and controls
49 lines (43 loc) · 1.69 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
{{!< default}}
<div class="gh-page">
<div class="gh-container gh-terminal-layout">
<section class="gh-terminal-main">
<p class="gh-command-line">
<span class="gh-command-prompt">visitor@{{@site.title}}:~$</span>
<span class="gh-command-text">ls ./authors</span>
</p>
{{#author}}
<header class="gh-page-head">
{{#if profile_image}}
<img class="gh-author-image" src="{{profile_image}}" alt="{{name}}" />
{{/if}}
<h1>{{name}}</h1>
{{#if bio}}
<p>{{bio}}</p>
{{/if}}
<div class="gh-author-meta">
<div class="gh-author-links">
{{#if website}}
<a href="{{website}}" target="_blank" rel="noopener">Website</a>
{{/if}}
{{#if twitter}}
<a href="{{social_url type="twitter"}}" target="_blank" rel="noopener">Twitter</a>
{{/if}}
{{#if facebook}}
<a href="{{social_url type="facebook"}}" target="_blank" rel="noopener">Facebook</a>
{{/if}}
</div>
</div>
{{#if cover_image}}
<img class="gh-page-image" src="{{cover_image}}" alt="{{name}}" />
{{/if}}
</header>
{{/author}}
<div class="gh-postfeed">
{{#foreach posts}}
{{> "card"}}
{{/foreach}}
</div>
</section>
</div>
</div>