{{!< default}}

{{#author}}
<main class="content-area">
    <section class="stack-section">
        <header class="section-header section-header--author">
            <div class="author-header">
                {{#if profile_image}}
                    <img class="avatar avatar--large" src="{{img_url profile_image size="s"}}" alt="{{name}}">
                {{else}}
                    <div class="avatar avatar--large avatar--fallback">A</div>
                {{/if}}
                <div>
                    <h1 class="section-title">{{name}}</h1>
                    {{#if bio}}<p class="section-description">{{bio}}</p>{{/if}}
                    <div class="meta-pill">{{plural count.posts empty="No posts" singular="% post" plural="% posts"}}</div>
                </div>
            </div>
        </header>
        {{> "lists/post-feed"}}
    </section>
</main>
{{/author}}
