{% extends "base.html" %}
{% import "macros.html" as macros %}

{% block title %}{{ page.title }} · {{ config.title }}{% endblock title %}

{% block content %}
{% include "partials/back-to-section.html" %}
<article>
    <header class="entry-header">
        <h1><span class="cuneiform" lang="und-Xsux" aria-hidden="true">{{ page.extra.sign }}</span> {{ page.title }}
        </h1>

        {% if page.description %}
        <p class="entry-description">{{ page.description }}</p>
        {% else %}
        <p class="entry-description">
            Signe cunéiforme {{ page.title }}{% if page.extra.mzl %} — MZL {{ page.extra.mzl }}{% endif %}.
        </p>
        {% endif %}

        {% include "partials/entry-dates.html" %}

        <dl class="metadata">
            <dt>MZL</dt>
            <dd>{{ page.extra.mzl }}</dd>

            {% if page.taxonomies.lectures %}
            <dt>Lectures</dt>
            <dd>
                {{ macros::taxonomy_links(terms=page.taxonomies.lectures, kind="lectures") }}
            </dd>
            {% endif %}

        </dl>
    </header>

    {{ page.content | safe }}
</article>
{% endblock content %}
