fix(admin): test site_logo before using it

This commit is contained in:
Simon Vieille 2023-01-08 20:50:00 +01:00
parent 0a7550940d
commit e402c49835
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -1,4 +1,6 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="{{ asset(site_logo) }}">
<link rel="icon" href="{{ asset(site_logo) }}">
{% if site_logo is defined %}
<link rel="shortcut icon" href="{{ asset(site_logo) }}">
<link rel="icon" href="{{ asset(site_logo) }}">
{% endif %}