2014-07-21 12:45:34 +00:00
|
|
|
{{!< default}}
|
2016-05-08 08:50:20 +00:00
|
|
|
{{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}
|
2014-07-21 12:45:34 +00:00
|
|
|
|
2014-08-05 19:44:31 +00:00
|
|
|
{{#author}}
|
2017-06-13 18:07:26 +00:00
|
|
|
{{!-- Everything inside the #author tags pulls data from the author --}}
|
2017-06-13 12:48:06 +00:00
|
|
|
<header class="site-header outer {{#if cover_image}}" style="background-image: url({{cover_image}}){{else}}no-cover{{/if}}">
|
|
|
|
<div class="inner">
|
2017-06-13 18:02:22 +00:00
|
|
|
{{> "site-nav"}}
|
2017-06-13 12:48:06 +00:00
|
|
|
<div class="site-header-content">
|
|
|
|
{{#if profile_image}}
|
|
|
|
<img class="author-profile-image" src="{{profile_image}}" alt="{{name}}" />
|
|
|
|
{{/if}}
|
|
|
|
<h1 class="site-title">{{name}}</h1>
|
|
|
|
{{#if bio}}
|
|
|
|
<h2 class="author-bio">{{bio}}</h2>
|
|
|
|
{{/if}}
|
|
|
|
<div class="author-meta">
|
|
|
|
{{#if location}}
|
|
|
|
<div class="author-location">{{location}} <span class="bull">•</span></div>
|
|
|
|
{{/if}}
|
|
|
|
<div class="author-stats">
|
|
|
|
{{plural ../pagination.total empty='No posts' singular='% post' plural='% posts'}} <span class="bull">•</span>
|
|
|
|
</div>
|
|
|
|
{{#if website}}
|
2017-10-03 09:42:08 +00:00
|
|
|
<a class="social-link social-link-wb" href="{{website}}" target="_blank" rel="noopener">{{> "icons/website"}}</a>
|
2017-06-13 12:48:06 +00:00
|
|
|
{{/if}}
|
|
|
|
{{#if twitter}}
|
2017-10-03 09:42:08 +00:00
|
|
|
<a class="social-link social-link-tw" href="{{twitter_url}}" target="_blank" rel="noopener">{{> "icons/twitter"}}</a>
|
2017-06-13 12:48:06 +00:00
|
|
|
{{/if}}
|
|
|
|
{{#if facebook}}
|
2017-10-03 09:42:08 +00:00
|
|
|
<a class="social-link social-link-fb" href="{{facebook_url}}" target="_blank" rel="noopener">{{> "icons/facebook"}}</a>
|
2017-06-13 12:48:06 +00:00
|
|
|
{{/if}}
|
2018-02-27 04:11:29 +00:00
|
|
|
<a class="social-link social-link-rss" href="https://feedly.com/i/subscription/feed/{{url absolute="true"}}rss/" target="_blank" rel="noopener">{{> "icons/rss"}}</a>
|
2017-06-13 12:48:06 +00:00
|
|
|
</div>
|
2014-08-05 19:44:31 +00:00
|
|
|
</div>
|
2017-06-13 12:48:06 +00:00
|
|
|
</div>
|
|
|
|
</header>
|
2014-08-05 19:44:31 +00:00
|
|
|
{{/author}}
|
2014-07-21 12:45:34 +00:00
|
|
|
|
2017-06-13 18:07:26 +00:00
|
|
|
{{!-- The main content area --}}
|
2017-06-16 12:16:22 +00:00
|
|
|
<main id="site-main" class="site-main outer" role="main">
|
2017-06-13 12:48:06 +00:00
|
|
|
<div class="inner">
|
2017-06-16 12:16:22 +00:00
|
|
|
|
2017-06-13 12:48:06 +00:00
|
|
|
<div class="post-feed">
|
|
|
|
{{#foreach posts}}
|
2017-06-16 12:16:22 +00:00
|
|
|
|
2017-06-13 12:48:06 +00:00
|
|
|
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
|
|
|
|
{{> "post-card"}}
|
2017-06-16 12:16:22 +00:00
|
|
|
|
2017-06-13 12:48:06 +00:00
|
|
|
{{/foreach}}
|
|
|
|
</div>
|
2017-06-16 12:16:22 +00:00
|
|
|
|
2017-06-13 12:48:06 +00:00
|
|
|
</div>
|
2015-02-28 12:34:58 +00:00
|
|
|
</main>
|