{% extends 'base' %}

{% block content_wrapper %}
    <div class="space-y-10">
        <div class="space-y-6">
            <header>
                <time datetime="{{ page.date|date('Y-m-d') }}">
                    Posted on {{ page.date|date('jS F Y') -}}
                </time>
            </header>

            <div>
                {% include 'post/old-post-message' with {
                    post: page,
                } only %}
            </div>

            <div class="markdown">
                {{ parent() }}
            </div>

            {% include 'post/comments-questions' with {
                twitter: {
                    name: site.twitter.name,
                    url: site.twitter.url
                }
            } only %}
        </div>

        {% include 'about-author' with {
            avatar: site.avatar,
            work: site.work,
        } only %}
    </div>
{% endblock %}