{#- The frame of the pages on the Abilian Design System: one bar, no menu column
(`notes/ux/design-principles.md`, section 3; drawn in `mockups/templates/base.html`).
A page moves to ADS when its template extends this one; until then it keeps
`base.html` and Tailwind, so the two stylesheets never meet on one page. -#}
{% extends "ads/shell.html" %}
{% import "ads_macros.html" as m with context %}
{% set layout_class = "ads-app--horizontal" %}
{% set shell_script = url_for("abilian_sbe_static", filename="ads/shell.js") %}
{% set restore_script = url_for("abilian_sbe_static", filename="ads/restore.js") %}
{% set here = g.get("community") %}
{% set communities_menu = communities_of(current_user)[:8] %}
{% set menu_news = news_in(current_user, communities_menu) %}
{% block lang %}{{ get_locale().language }}{% endblock %}
{% block title %}{% block page_title %}{% endblock %} ยท {{ config.SITE_NAME }}{% endblock %}
{% block stylesheet %}
{% endblock %}
{#- What the app's scripts read (CSRF token, API URLs). Every page loads `src/main.js`
(a message's close button, the widgets), with no stylesheet; a page that needs more
(the editor) replaces the `scripts` block. -#}
{% block head %}{% include "_js_config.html" %}{% endblock %}
{% block scripts %}{{ vite_asset("src/main.js") }}{% endblock %}
{% block icon %}{% endblock %}
{% block skip %}{{ _("Skip to content") }}{% endblock %}
{% block menu_label %}{{ _("Menu") }}{% endblock %}
{% block brand_href %}{{ url_for("main.home") }}{% endblock %}
{% block brand_mark %}{% endblock %}
{% block brand_name %}{{ config.SITE_NAME }}{% endblock %}
{% block nav %}
{#- Four zones: who we are (the logo); where to go; what to do (search, create);
the utilities. On a phone, where to go moves to a bar at the bottom. -#}