-
Notifications
You must be signed in to change notification settings - Fork 156
/
author-old.hbs
54 lines (41 loc) · 1.9 KB
/
author-old.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
47
48
49
50
51
52
53
{{!< default}}
{{! The tag above means - insert everything in this file into the {body} of the default.hbs template }}
{{! The big featured header }}
{{! Everything inside the #author tags pulls data from the author }}
{{#author}}
<main class="content tag" role="main">
<div class="wrapper-background">
{{#if cover}}
<header class="header post-head" style="background-image: url({{cover}})">
test
</header>
{{else}}
<br><br><br><br>
{{/if}}
<header class="author">
{{#if image}}
<figure class="author-image">
<a href="" class="img" style="background-image: url({{image}})">
<span class="hidden">{{name}}'s Picture</span></a>
</figure>
{{/if}}
<div class="author">
<h4>{{name}}</h4>
<section>
{{#if bio}}
<p class="author-bio">{{bio}}</p>
{{/if}}
<div class="author-meta">
{{#if location}}<span class="author-location icon-location">{{location}}</span>{{/if}} · {{#if website}}<span class="author-link icon-link"><a href="{{website}}">{{website}}</a></span>{{/if}}
</div>
</section>
</div>
</header>
<h2 class="article-spacer"><span>✤</span></h2>
</div>
<div class="wrapper-content">
{{! The tag below includes the post loop - partials/loop.hbs }}
{{> "loop"}}
</div>
</main>
{{/author}}