{% import "base/templates/macro.j2" as macro %} {% block style %} {% if header.theme.name == "base" %} {% if header.theme.custom is iterable %} {% if "css" in header.theme.custom %} {{ macro.custom_dict_css(header.theme.custom.css) }} {% else %} {{ macro.custom_multiple_files_css(header.theme.custom) }} {% endif %} {% else %} {{ macro.custom_single_file_css(header.theme.custom) }} {% endif %} {% else %} {% endif %} {% endblock style %} {{ header.title }} {% block header %} {% include 'base/templates/header.html' %} {% endblock header %} {% block content %}
{% for section in sections %}

{{ section.title }}

{{ section.content }}
{% endfor %}
{% endblock content %} {% if header.theme.custom is iterable %} {% if "js" in header.theme.custom %} {{ macro.custom_dict_js(header.theme.custom.js) }} {% else %} {{ macro.custom_multiple_files_js(header.theme.custom) }} {% endif %} {% else %} {{ macro.custom_single_file_js(header.theme.custom) }} {% endif %} {% block footer %} {% include 'base/templates/footer.html' %} {% endblock footer %}