{# System Page Base Layout — single source of truth for all system pages (error + membership). This EXTENDS the theme's real base.html. That is deliberate and load-bearing: get_asset_url() / require_css() only resolve on system pages (incl. /_hcms/mem/*) when the template extends the standard base layout — a standalone doc gets an empty get_asset_url, so no CSS loads (that was the long-standing "unstyled login page" bug). Verified against the upthegame theme, whose membership login loads its CSS the same way. base.html already bakes the brand tokens (--color-*) and loads modern.css, so here we only add the system-pages stylesheet and hide the site chrome (header/footer) for a clean card. #} {% extends "../layouts/base.html" %} {# System-pages stylesheet — loaded the supported way. Do NOT {% include %} a .css file (that fails validation) and do NOT rely on a standalone layout (get_asset_url returns empty there). #} {{ require_css(get_asset_url("../../css/components/system-pages.css")) }} {# Re-expose title/description so child templates' {% block title %} reaches base.html's