{# The page shell. Every service extends this and fills `content`. Three things happen in before anything renders, in this order and for this reason: 1. The theme is applied before first paint, so there is no flash of the wrong colours. Web Awesome drives light/dark from a `wa-light`/`wa-dark` CLASS, while our own convention has always been a `data-theme` ATTRIBUTE with three values including "system". The script below owns the mapping, so pages and stylesheets keep using data-theme and never learn about the class. 2. Web Awesome's stylesheet, then our token overlay, so our palette wins. 3. The autoloader, deferred. It registers each custom element the first time one appears in the DOM, which is why there is no per-component import list to keep in sync with the markup. #} {% block title %}{{ title }}{% endblock %} {# The service's icons, or chrome's generic set for what it lacks (see Chrome._find_icons). SVG for Chromium and Firefox tabs, PNG for Safari and bookmark bars, the Apple touch icon for home screens. #} {% block head %}{% endblock %} {# Preact, hooks and htm are vendored here rather than per service, and mapped so a page can `import { h } from "preact"`. hooks.module.js carries a bare "preact" specifier internally, so the map is required, not a convenience. See D-0016 for why there is no bundler. #}
{% block content %}{% endblock %}
{% block footer %}{% endblock %} {% block scripts %}{% endblock %}