{{!< default}} {{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}
{{#author}} {{!-- Everything inside the #author tags pulls data from the author --}}
{{#if profile_image}} {{name}} {{else}} {{> "icons/avatar"}} {{/if}}

{{name}}

{{#if bio}} {{bio}} {{else}} {{plural ../pagination.total empty='No posts' singular='% post' plural='% posts'}} published {{/if}}

{{#if location}}
📍 {{location}}
{{/if}} {{#if website}} {{website}} {{/if}} {{#if twitter}} {{twitter_url}} {{/if}} {{#if facebook}} {{facebook_url}} {{/if}}
{{/author}}
{{#foreach posts}} {{!-- The tag below includes the markup for each post - partials/post-card.hbs --}} {{> "post-card"}} {{/foreach}}