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
|
|
|
|
2021-03-04 01:22:45 +00:00
|
|
|
|
2021-03-04 22:22:45 +00:00
|
|
|
<section class="outer">
|
|
|
|
<div class="inner posts">
|
|
|
|
|
|
|
|
<header class="author-profile">
|
|
|
|
{{#author}}
|
|
|
|
{{!-- Everything inside the #author tags pulls data from the author --}}
|
|
|
|
|
|
|
|
<div class="author-profile-content">
|
|
|
|
|
|
|
|
{{#if profile_image}}
|
|
|
|
<img class="author-profile-pic" src="{{profile_image}}" alt="{{name}}" />
|
|
|
|
{{else}}
|
|
|
|
<span class="author-profile-pic">{{> "icons/avatar"}}</span>
|
2017-06-13 12:48:06 +00:00
|
|
|
{{/if}}
|
2021-03-04 22:22:45 +00:00
|
|
|
|
|
|
|
<h1>{{name}}</h1>
|
2021-03-04 23:31:29 +00:00
|
|
|
<p>
|
|
|
|
{{#if bio}}
|
|
|
|
{{bio}}
|
|
|
|
{{else}}
|
|
|
|
{{plural ../pagination.total empty='No posts' singular='% post' plural='% posts'}} published
|
|
|
|
{{/if}}
|
|
|
|
</p>
|
2021-03-04 22:22:45 +00:00
|
|
|
|
|
|
|
<div class="author-profile-meta">
|
2021-03-04 01:22:45 +00:00
|
|
|
{{#if location}}
|
2021-03-04 23:31:29 +00:00
|
|
|
<div class="author-profile-location">📍 {{location}}</div>
|
2019-10-21 05:43:34 +00:00
|
|
|
{{/if}}
|
2021-03-04 01:22:45 +00:00
|
|
|
{{#if website}}
|
2021-03-04 23:31:29 +00:00
|
|
|
<span ></span><a class="author-profile-social-link" href="{{website}}" target="_blank" rel="noopener">{{website}}</a></span>
|
2021-03-04 01:22:45 +00:00
|
|
|
{{/if}}
|
|
|
|
{{#if twitter}}
|
2021-03-04 23:31:29 +00:00
|
|
|
<span ></span><a class="author-profile-social-link" href="{{twitter_url}}" target="_blank" rel="noopener">{{twitter_url}}</a></span>
|
2021-03-04 01:22:45 +00:00
|
|
|
{{/if}}
|
|
|
|
{{#if facebook}}
|
2021-03-04 23:31:29 +00:00
|
|
|
<span ></span><a class="author-profile-social-link" href="{{facebook_url}}" target="_blank" rel="noopener">{{facebook_url}}</a></span>
|
2021-03-04 01:22:45 +00:00
|
|
|
{{/if}}
|
2017-06-13 12:48:06 +00:00
|
|
|
</div>
|
2021-03-04 01:22:45 +00:00
|
|
|
|
2021-03-04 22:22:45 +00:00
|
|
|
</div>
|
2014-07-21 12:45:34 +00:00
|
|
|
|
2021-03-04 22:22:45 +00:00
|
|
|
{{/author}}
|
|
|
|
</header>
|
2017-06-16 12:16:22 +00:00
|
|
|
|
2017-06-13 12:48:06 +00:00
|
|
|
<div class="post-feed">
|
2021-03-04 04:20:10 +00:00
|
|
|
{{#foreach posts}}
|
2017-06-13 12:48:06 +00:00
|
|
|
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
|
|
|
|
{{> "post-card"}}
|
|
|
|
{{/foreach}}
|
|
|
|
</div>
|
2017-06-16 12:16:22 +00:00
|
|
|
|
2017-06-13 12:48:06 +00:00
|
|
|
</div>
|
2021-03-04 01:22:45 +00:00
|
|
|
</section>
|