Render the favicon_mimetype with | safe

Otherwise it will be escaped!
This commit is contained in:
Pablo Martí Gamboa 2022-11-10 11:45:04 +01:00 committed by GitHub
parent d8565d716c
commit fe5f5aea01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@
{% endif -%}
{%- if config.extra.favicon %}
<link rel="shortcut icon" type="{{ config.extra.favicon_mimetype | default(value="image/x-icon") }}" href="{{ config.extra.favicon | safe }}">
<link rel="shortcut icon" type="{{ config.extra.favicon_mimetype | default(value="image/x-icon") | safe }}" href="{{ config.extra.favicon | safe }}">
{% endif -%}
{%- block extra_head %}