{% if let Some(token) = csrf_token %}{% endif %} {% block title %}Multithreaded{% endblock %} {# htmx 4 swaps every response except 204 and 304. The one htmx-driven element here is the search box, and a failed /search answers with a whole rendered error page (src/error_page.rs), so the default would paint that page inside #search-results. Turning 4xx and 5xx back off keeps the toast in mt.js as the only thing an error produces, which is what 2.x did. Read once as the script below runs, so it has to stay above that include. #} {% include "_head_assets.html" %} {% block head %}{% endblock %} Skip to main content {% block header %}{% endblock %}
{% block content %}{% endblock %}
{% include "_body_scripts.html" %} {% block scripts %}{% endblock %}