Added robots file
[ghost-theme-work.git] / author.hbs
1 {{!-- The tag below means - insert everything in this file into the {body} of the default.hbs template --}}
2 {{!< default}}
3
4 {{!-- Everything inside the #author tags pulls data from the author --}}
5 {{#author}}
6
7 <section class="author container">
8 {{#if profile_image}}
9 <figure class="author-image">
10 <a class="img" href="{{url}}" title="{{name}}"><img src="{{img_url profile_image size="xs"}}" alt="{{name}}"></a>
11 </figure>
12 {{/if}}
13
14 <h4><a href="{{url}}">{{name}}</a></h4>
15
16 {{#if bio}}
17 <p>{{bio}}</p>
18 {{else}}
19 <p>{{{t "Read <a href='{url}'>more posts</a> by this author" url=(url)}}}.</p>
20 {{/if}}
21 <div class="author-meta">
22 {{#if location}}<span class="author-location">{{location}}</span>{{/if}}
23 {{#if website}}<span class="author-link"><a href="{{website}}" target="_blank" rel="noopener noreferrer">{{website}}</a></span>{{/if}}
24 </div>
25 <div class="social">
26 {{#if twitter}}<a href="{{twitter_url}}" class="twitter" title="{{twitter}}" target="_blank" rel="noopener noreferrer"><i class="fab fa-twitter"></i></a>{{/if}}
27 {{#if facebook}}<a href="{{facebook_url}}" class="facebook" title="{{facebook}}" target="_blank" rel="noopener noreferrer"><i class="fab fa-facebook-f"></i></a>{{/if}}
28 </div>
29 </section>
30
31 {{/author}}
32
33 {{!-- The main content area --}}
34 <main id="content" class="container loop" role="main">
35
36 {{> "loop"}}
37
38 </main>
39
40 {{pagination}}