{%- import 'macros/common.html' as common with context -%} {%- import 'macros/getters.html' as get with context -%} {%- import 'macros/nav.html' as nav with context -%} {%- import 'macros/cards.html' as cards with context -%} {%- import 'macros/content_renderer.html' as content_renderer with context -%} {%- import 'macros/renderers.html' as render with context -%} {% block head %} {% block title %}{{ t[l].title_prefix }}{{ t[l].sitename }}{{ t[l].title_suffix }}{%endblock%} {#- TODO load javascript? -#} {#- TODO og: meta tags -#} {% block extra_head %}{% endblock extra_head %} {% endblock head %}
{% block site_header %} {{ t[l].banner.alt|e }}{{ t[l].banner.prefix|e }}{{ t[l].sitename|e }}{{ t[l].banner.suffix|e }} {% block extra_header %}{% endblock extra_header %} {% endblock site_header %}
{% block global_before %} {%- if 'global_before' in config.theme -%}
{{ render.sections(config.theme.global_before, lang, 2) }}
{%- endif -%} {% endblock global_before %} {% block breadcrumb %} {% endblock breadcrumb %}
{% block main %} {% endblock main %}
{% block page_footer %} {% endblock page_footer %} {% block global_after %} {%- if 'global_after' in config.theme -%}
{{ render.sections(config.theme.global_after, lang, 2) }}
{%- endif -%} {% endblock global_after %}