{#- this_file: theme/fly_january/main.html -#}
{#- fly-january: MaterialX child theme. Sheets, canvas grid, type and the menu bridge are
CSS and JS in assets/fly/ (built from src/fly by scripts/build-fly.mjs); the fly plugin
provides the `fly` variable (fonts, role variables, hue, chrome) and adds the body
classes and data-fly-hue. -#}
{% extends "base.html" %}
{% block styles %}
{%- if fly is not defined %}
{{ fly_january_requires_the_fly_plugin__add_fly_to_plugins() }}
{% endif %}
{{ super() }}
{% include "partials/fly-photoswipe.html" %}
{%- if fly.utilities %}
{%- endif %}
{% endblock %}
{% block extrahead %}
{{ super() }}
{#- Restores the retracted L2 before first paint after navigating from an L1 link (fly.js). #}
{% include "partials/fly-symbols.html" %}
{#- Fonts and role variables for this page (site < preset < page), from the fly plugin.
data-fly-font / data-fly-roles mark what the debug switcher (fly-debug.js) replaces. #}
{%- for origin in fly.head.preconnects %}
{%- endfor %}
{%- for href in fly.head.links %}
{%- endfor %}
{%- if fly.head.style %}
{%- endif %}
{%- if fly.debug %}
{%- endif %}
{%- if fly.chrome.script %}
{%- endif %}
{% endblock %}
{% block header %}
{#- The global menu (extra.fly.chrome); its attributes come from extra.fly.chrome_options. #}
{%- if fly.chrome.header %}
<{{ fly.chrome.header }}{% for name, value in fly.chrome.header_attrs.items() %} {{ name }}="{{ value | e }}"{% endfor %}>{{ fly.chrome.header }}>
{%- endif %}
{{ super() }}
{% endblock %}
{% block footer %}
{{ super() }}
{%- if fly.chrome.footer %}
<{{ fly.chrome.footer }}{% for name, value in fly.chrome.footer_attrs.items() %} {{ name }}="{{ value | e }}"{% endfor %}>{{ fly.chrome.footer }}>
{%- endif %}
{% endblock %}
{% block scripts %}
{{ super() }}
{% endblock %}