{%- set visitor = request.state.signed_in is defined and not request.state.signed_in %} {% block title %}{{ site_name() }}{% endblock %} {% if visitor %} {#- A visitor's own look, kept in their browser: applied before the page paints. #} {% endif %} {%- set dress_key = looks_token(request) if looks_token is defined else "" %} {% if dress_key %}{% endif %} {% block head %}{% endblock %} {% block backdrop %} {#- The painted background behind every page (§7c). "horizon" shows the sky's lower part and the soil line at the top; "underground" only what lies below the soil. -#} {% set look = backdrop() %} {% set soil = (1024 * look.soil / 100) | round | int %} {% set view = backdrop_view | default("horizon") %} {% if view == "underground" %}{% set top = soil + 20 %}{% else %}{% set top = [soil - 330, 0] | max %}{% endif %}
{% if look.ramp %}{% endif %} {% endblock %} {% block header %}
{#- One line (§7c): the name, the sections, then Appearance, the language and signing out or in at the right. On a narrow screen the sections wrap below. #} {% set everything = request.state.signed_in is not defined or request.state.signed_in %}
{{ site_name() }} {% if nav != "login" %}{% include "_menu.html" %}{% endif %}
{% endblock %}
{% block content %}{% endblock %}
{% block footer %} {#- The version and what it brought, from the packaged CHANGELOG.md (§7c). -#} {% set latest = changes.latest %} {#- Only a small, faint version in the corner; a dot when this build brought news. #} {% endblock %}