Fix duplicate auth menu: inject fragment in both desktop and mobile sections
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 58s

Fragment contains responsive desktop/mobile spans. Inject in both
header sections so each span shows at the correct breakpoint.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-24 09:51:54 +00:00
parent e9a59e5f93
commit b12c8788c7

View File

@@ -41,9 +41,10 @@
</div>
{% endcall %}
{# Mobile user info #}
<div class="block md:hidden text-md font-bold">
{# Auth menu mobile — part of auth-menu fragment (id=auth-menu-mobile) #}
{% if not auth_menu_html %}
<div class="block md:hidden">
{% if auth_menu_html %}
{{ auth_menu_html | safe }}
{% else %}
{% if g.user %}
{% include '_types/root/mobile/_full_user.html' %}
{% else %}