{% if theme_tokens and theme_tokens.font_url %} {% endif %} {# Feature stylesheets, declared via register_asset(); emitted in a deterministic, deduplicated order (theme base ~0, features ~100, skins ~200). #} {% for href in get_assets('css') %} {% endfor %} {% block head %}{% endblock %} {% for hook in get_template_hooks("layout.head") %}{{ hook() | safe }}{% endfor %} {% for hook in get_template_hooks("layout.body_start") %}{{ hook() | safe }}{% endfor %} {# Any page can hand the shell a trail of {label, url} entries as `breadcrumb`; pages that do not get no markup at all. See blocks/breadcrumb.html and the module docstring of hooks.py. #} {% if breadcrumb %}{{ render_block('breadcrumb', breadcrumb=breadcrumb) }}{% endif %} {% for hook in get_template_hooks("layout.hero") %}{{ hook() | safe }}{% endfor %} {% block hero %}{% endblock %}
{% block content %}{% endblock %}
{# Feature scripts, declared via register_asset(); deferred, deduped, ordered. #} {% for href in get_assets('js') %} {% endfor %} {% for hook in get_template_hooks("layout.scripts") %}{{ hook() | safe }}{% endfor %} {% block scripts %}{% endblock %}