{% extends base %} {% block preamble %} {% if app_favicon %}{% endif %} {% if manifest %}{% endif %} {% if meta_name %}{% endif %} {% if meta_description %}{% endif %} {% if meta_keywords %}{% endif %} {% if meta_author %}{% endif %} {% if meta_refresh %}{% endif %} {% if meta_viewport %}{% endif %} {% if base_url and base_target %}{% endif %} {% for css in template_resources['css'].values() %} {% endfor %} {% for raw_css in template_resources['raw_css'] %} {% endfor %} {% for src in template_resources['js'].values() %} {% endfor %} {% for src in template_resources['js_modules'].values() %} {% endfor %} {% endblock %} {% block contents %}
{% if show_header %} {% else %}
{{ embed(roots.busy_indicator) | indent(6) }}
{% endif %}
{% if nav %} {% endif %}
{% if not show_header and nav %}
{% endif %} {% if main_max_width %}
{% endif %}
{% set main_count = namespace(value=0) %} {% for doc in docs %} {% for root in doc.roots %} {% if "main" in root.tags %} <{{ 'div class="fragment"' if "fragment" in root.tags else "section" }} id="slide-{{ main_count.value }}"> {{ embed(root) | indent(4) }} {% set main_count.value = main_count.value + 1 %} {% if "fragment" in root.tags %}
{% endif %} {% if (loop.index >= doc.roots|length or "fragment" not in doc.roots[loop.index].tags) %} {% endif %} {% endif %} {% endfor %} {% endfor %}
{% if main_max_width %}
{% endif %}
× {% for doc in docs %} {% for root in doc.roots %} {% if "modal" in root.tags %} {{ embed(root) | indent(10) }} {% endif %} {% endfor %} {% endfor %}
{% if not show_header %} {% endif %}
{{ embed(roots.js_area) }} {{ embed(roots.actions) }} {{ embed(roots.location) }} {% if notifications %} {{ embed(roots.notifications) }} {% endif %} {% if browser_info %} {{ embed(roots.browser_info) }} {% endif %} {% endblock %}