2014-07-21 08:45:34 -04:00
|
|
|
{{!< default}}
|
2016-05-08 04:50:20 -04:00
|
|
|
{{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}
|
2014-07-21 08:45:34 -04:00
|
|
|
|
2021-03-03 20:22:45 -05:00
|
|
|
|
2021-03-04 17:22:45 -05: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 08:48:06 -04:00
|
|
|
{{/if}}
|
2021-03-04 17:22:45 -05:00
|
|
|
|
|
|
|
<h1>{{name}}</h1>
|
|
|
|
{{#if bio}}<p>{{bio}}</p>{{/if}}
|
|
|
|
|
|
|
|
<div class="author-profile-meta">
|
2021-03-03 20:22:45 -05:00
|
|
|
{{#if location}}
|
2021-03-04 17:22:45 -05:00
|
|
|
<div class="author-profile-location">📍 {{location}}</div>
|
2019-10-21 01:43:34 -04:00
|
|
|
{{/if}}
|
2021-03-03 20:22:45 -05:00
|
|
|
{{#if website}}
|
2021-03-04 17:22:45 -05:00
|
|
|
<a class="author-profile-social-link" href="{{website}}" target="_blank" rel="noopener">{{website}}</a>
|
2021-03-03 20:22:45 -05:00
|
|
|
{{/if}}
|
|
|
|
{{#if twitter}}
|
2021-03-04 17:22:45 -05:00
|
|
|
<a class="author-profile-social-link" href="{{twitter_url}}" target="_blank" rel="noopener">{{twitter_url}}</a>
|
2021-03-03 20:22:45 -05:00
|
|
|
{{/if}}
|
|
|
|
{{#if facebook}}
|
2021-03-04 17:22:45 -05:00
|
|
|
<a class="author-profile-social-link" href="{{facebook_url}}" target="_blank" rel="noopener">{{facebook_url}}</a>
|
2021-03-03 20:22:45 -05:00
|
|
|
{{/if}}
|
2017-06-13 08:48:06 -04:00
|
|
|
</div>
|
2021-03-03 20:22:45 -05:00
|
|
|
|
2021-03-04 17:22:45 -05:00
|
|
|
</div>
|
2014-07-21 08:45:34 -04:00
|
|
|
|
2021-03-04 17:22:45 -05:00
|
|
|
{{/author}}
|
|
|
|
</header>
|
2017-06-16 08:16:22 -04:00
|
|
|
|
2017-06-13 08:48:06 -04:00
|
|
|
<div class="post-feed">
|
2021-03-03 23:20:10 -05:00
|
|
|
{{#foreach posts}}
|
2017-06-13 08:48:06 -04:00
|
|
|
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
|
|
|
|
{{> "post-card"}}
|
|
|
|
{{/foreach}}
|
|
|
|
</div>
|
2017-06-16 08:16:22 -04:00
|
|
|
|
2017-06-13 08:48:06 -04:00
|
|
|
</div>
|
2021-03-03 20:22:45 -05:00
|
|
|
</section>
|