{{!< default}}

{{!-- Everything inside the #post tags pulls data from the post --}}
{{#post}}

<main id="site-main" class="site-main outer">
    <div class="inner">

        <article class="post-full {{post_class}} {{#unless feature_image}}no-image{{/unless}}">

            <header class="post-full-header">
                <h1 class="post-full-title">{{title}}</h1>
            </header>

            {{!-- Reflects @member so tests can assert the visitor's real member
            state (a gift read stays anonymous even when the content is unlocked). --}}
            <p class="gh-test-member-state">{{#if @member}}member{{else}}anonymous{{/if}}</p>

            <section class="post-full-content">
                <div class="post-content">
                    {{content}}
                </div>
            </section>
        </article>
    </div>
</main>
{{/post}}
