-
Notifications
You must be signed in to change notification settings - Fork 8
/
page-about.hbs
55 lines (51 loc) · 2.28 KB
/
page-about.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
54
55
{{!< default}}
{{! The tag above means - insert everything in this file into the {body} of the default.hbs template }}
{{! The big featured header }}
{{#post}}
{{! Everything inside the #author tags pulls data from the author }}
{{#author}}
<section class="author-profile" {{#if cover_image}}style="background-image:url('{{cover_image}}')"{{/if}}>
<a href="{{@blog.url}}" class="go-home-page" style="background-image:url({{#if @blog.logo}}{{@blog.logo}}{{else}}{{asset "/assets/go-home.png"}}{{/if}}")></a>
<div class="author-info">
<figure class="author-image {{#if cover_image}}has-cover{{/if}}">
<div class="img image-bg" style="background-image: url({{img_url profile_image}})"><span class="hidden">{{name}}'s Picture</span></div>
</figure>
<h1 class="author-title">{{name}}</h1>
{{#if bio}}
<p class="author-bio">{{bio}}</p>
{{/if}}
</div>
<ul class="author-meta">
{{#if location}}
<li class="author-location">
<a href="https://www.google.com/maps/search/{{location}}" class="icon-location" title="{{location}}"></a>
</li>
{{/if}}
{{#if website}}
<li class="author-link">
<a class="icon-link" href="{{website}}" title="{{website}}"></a>
</li>
{{/if}}
{{#if twitter}}
<li class="author-twitter">
<a class="icon-twitter" href="{{twitter_url}}" title="{{twitter}}"></a>
</li>
{{/if}}
{{#if facebook}}
<li class="author-facebook">
<a class="icon-facebook" href="{{facebook_url}}" title="{{facebook}}"></a>
</li>
{{/if}}
{{!-- <span class="author-stats"><i class="icon-stats"></i> {{plural ../pagination.total empty='No posts' singular='% post' plural='% posts'}}</span> --}}
</ul>
</section>
{{/author}}
{{! The main content area on the homepage }}
<main class="content" role="main">
<article class="{{post_class}} single-post">
<section class="post-content short-diver">
{{content}}
</section>
</article>
</main>
{{/post}}