{% extends 'water/templates/index.html' %}

{% block header %}
{{ widgets::menu(path=config.extra.menu) }}
{# TAXONOMY PROBLEM (not needed with Zola > 10.1) need to check if lang exists, do not display anything otherwise #}
{% if lang %}
{% set header = get_page(path=widgets::i18n_path(path=config.extra.header, lang=lang)) %}
{{ header.content | markdown | safe }}
{% if translations %}{{ widgets::translations(translations=translations) }}{% endif %}
{% endif %}
{% endblock header %}

{% block footer %}
{{ widgets::columns(path="_common/footer/index.md") }}
<hr>
{{ super() }}
{% endblock %}
