recipes/backend/templates/title.html
Greg Burri a175595e23 - Do not force the language in the url when sign in (to use the user language preference).
- Do not force the language in the url when sign out to use the cookie or Accept-Language settings
2025-05-07 15:51:19 +02:00

10 lines
No EOL
362 B
HTML

<a class="title" href="/"><img class="logo" src="
{#
It should be better to put the image link into the CSS file
(in case of CSS dynamic swap for instance)
#}
{% if context.dark_theme %}
/static/logo_dark.svg
{% else %}
/static/logo_light.svg
{% endif %}" alt="logo">{{ context.tr.t(Sentence::MainTitle) }}</a>