staticadventures/templates/index.html

18 lines
597 B
HTML

{% 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 %}