<div id="posts">
    <div class="container">
        <article id="post">

            {% do template.set('meta_title', event.title.value) %}
            {#{% do template.set('meta_description', event.description.value) %}#}

            <header>

                <a class="btn btn-info"
                   href="../../">
                    {{ event.event_tag.value ?: 'Event' }}
                </a>

                <a class="btn btn-danger"
                   href="{{ event.route('events.ics') }}">
                    Add to Calendar
                </a>

                <div class="meta">

                    <time class="date">
                        {{ event.date_start.format('F j, Y') }}
                        {% if event.time_start.value %}
                            at
                            {{ event.time_start.value.format(config_get('streams::datetime.time_format')) }}
                        {% endif %}
                    </time>

                </div>

            </header>

            <br>
            <br>

            <div class="content">
                {{ event.content.render|raw }}
            </div>

        </article>
    </div>
</div>
