{{!< default}}
{{#author}} {{#match slug "katarina-smith-demo"}} {{> "components/simple-author-hero"}} {{else}} {{#unless profile_image}} {{> "components/simple-author-hero"}} {{else}} {{^match @custom.author_page_layout "Simple"}}

{{name}}

{{bio}}

{{#if location}}
{{t "Location"}} {{location}}
{{/if}}
{{t "Number of Articles"}} {{#get "posts" filter="authors:{{slug}}+id:-{{id}}" limit="all"}} {{pagination.total}} {{/get}}
{{t "Socials"}}
{{#if facebook}} {{/if}} {{#if twitter}} {{/if}} {{#if website}} {{/if}}
{{#get "authors" include="count.posts" filter="slug:-{{slug}}" limit="2"}} {{#if authors}}
{{t "Other Authors"}}
{{#foreach authors}} {{> "components/extra-small-side-card" feature_image=profile_image }} {{/foreach}}
{{/if}} {{/get}}
{{name}}{{t "'s Latest Work"}}
{{#get "posts" filter="authors:{{slug}}" limit="2"}} {{#foreach posts}} {{> "components/extra-small-side-card" isPost=true name=title}} {{/foreach}} {{/get}}
{{else}} {{> "components/simple-author-hero"}} {{/match}} {{/unless}} {{/match}} {{/author}}
{{#author}}{{name}}{{/author}}{{t "'s Work"}} {{plural pagination.total empty=(t "No Articles") singular=(t "1 Article") plural=(t "% Articles")}}
{{#foreach posts}} {{> "components/small-card" isForGrid=true }} {{/foreach}}
{{pagination}}