forked from TryGhost/Casper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
author-eppieshepherd.hbs
50 lines (43 loc) · 2.58 KB
/
author-eppieshepherd.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
{{!< 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}}
<header class="main-header author-head {{#if cover}}" style="background-image: url({{cover}}){{else}}no-cover{{/if}}">
<nav class="main-nav overlay clearfix">
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>{{/if}}
{{#if @blog.navigation}}
<a class="menu-button icon-menu" href="#"><span class="word">Menu</span></a>
{{/if}}
</nav>
</header>
<section class="author-profile inner">
{{#if image}}
<figure class="author-image">
<div class="img" style="background-image: url({{image}})"><span class="hidden">{{name}}'s Picture</span></div>
</figure>
{{/if}}
<h1 class="author-title">{{name}}</h1>
<div id="author-subtitle">
<span style="margin-right: 2rem;">@{{slug}}</span>
#{{id}}
</div>
<a id="follow-traveller-btn" class="cta-btn" data-traveller-username="{{slug}}" href="http://caseytravel.us13.list-manage1.com/subscribe?u=25865618789c4a52920d573ff&id=819c6adb14&MERGE3={{slug}}">Follow</a>
{{#if bio}}
<h2 class="author-bio">{{bio}}</h2>
{{/if}}
<div class="author-meta">
{{#if location}}<span class="author-location icon-location">{{location}}</span>{{/if}}
{{#if website}}<span class="icon-link"><a class="profile-traveller-link" data-link-type="Website" href="{{website}}">{{website}}</a></span>{{/if}}
{{#if twitter}}<span><a class="profile-traveller-link icon-twitter" data-link-type="Twitter" href="{{twitter_url}}"></a></span>{{/if}}
{{#if facebook}}<span><a class="profile-traveller-link icon-facebook" data-link-type="Facebook" href="{{facebook_url}}"></a></span>{{/if}}
<span><a class="profile-traveller-link icon-instagram" data-link-type="Instagram" href="https://www.instagram.com/eppie_s/"><i class="fa fa-instagram" aria-hidden="true"></i></a></span>
<span class="author-stats"><i class="icon-stats"></i> {{plural ../pagination.total empty='No trips' singular='% trip' plural='% trips'}}</span>
</div>
</section>
{{/author}}
{{!-- The main content area on the homepage --}}
<main class="content" role="main">
{{!-- The tag below includes the post loop - partials/loop.hbs --}}
{{> "loop"}}
</main>