{% extends "base.html" %}

{% block extra_head %}
    {{ super() }}
    {% if lang_siteurls and articles_page.number == 1 %}
        {% for lang, url in lang_siteurls.items() %}
            <link rel="alternate" hreflang="{{ lang }}" href="{{ url }}/">
        {% endfor %}
    {% endif %}
{% endblock %}

{% block title %}{{ SITENAME }}{% if articles_page.number != 1 %} | Page {{ articles_page.number }}{% endif %}{% endblock %}
{% block sitename %}
    <h1 class="title is-1 is-spaced">{{ SITENAME }}</h1>
    <h4 class="subtitle is-4">{{ SITESUBTITLE }}</h4>
{% endblock %}
