{% extends "base.html" %}

{% load i18n ocyan_main ocyanjson wagtailuserbar %}

{% block layout %}
{% block header %}
{% include "partials/header.html" %}
{% endblock %}

{% block content_wrapper %}
{% block content %}
{% endblock %}
{% endblock %}

{% block footer %}
{% include "partials/footer.html" %}
{% endblock %}
{% endblock %}

{% block onbodyload %}
{{ block.super }}
oxyan.layout()
oxyan.initModalPopup()
oxyan.initializePriceUpdate()
oxyan.IconHoverFix()
oxyan.lazyIconDropdown()
{% endblock %}

{% block cdn_scripts %}
    {{ block.super }}
    {% ocyanjson "wagtail" "wagtailuserbar_position" as position %}
    {% if position %}
        {% wagtailuserbar position %}
    {% endif %}
{% endblock %}