{% load i18n static wagtailcore_tags wagtailimages_tags wagtail_dsfr_tags %}
{% if user.is_authenticated %}
{% translate "My user space" as user_menu_label %}
{# The logout operation has to be performed via a POST with a csrf token for security reasons, so using a form. #}
{# Cf. https://docs.djangoproject.com/en/5.1/releases/4.1/#log-out-via-get #}