{% extends "base.html" %}

{% block html_lang %}{{ page.lang }}{% endblock%}

{% block extra_head %}
    {% import 'translations.html' as translations with context %}
    {% if translations.entry_hreflang(page) %}
        {{ translations.entry_hreflang(page) }}
    {% endif %}
    <meta name="author" content="{{ author }}">
{% endblock %}

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

{% block head %}
    {{ super() }}

    {% if page.styles %}
        {% for style in page.styles %}
            {{ style }}
        {% endfor %}
    {% endif %}

{% endblock head %}

{%- block content -%}
    <!-- Main -->
    <div class="row mt-10">
        <div class="col-md-9 mx-auto text-justify">
            <!-- dinamic page content  -->
            <div class="ml-3">
                {{ page.content }}
            </div>
            <!-- End dinamic page content  -->
        </div>
    </div>
    <!-- End Main -->
{%- endblock -%}
