🐛 fix(header): don't fail if custom_subset absent (#132)

This commit is contained in:
Xavier Vello 2023-09-09 12:10:18 +02:00 committed by GitHub
parent d6aaa7651f
commit c79407e6d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@
{# CSS #}
{# Load subset of glyphs for header. Avoids flashing issue in Firefox #}
{% if config.extra.custom_subset == true %}
{% if config.extra.custom_subset and config.extra.custom_subset == true %}
<link rel="stylesheet" href={{ get_url(path="custom_subset.css" ) }}>
{% elif lang == 'en' %}
<link rel="stylesheet" href={{ get_url(path="inter_subset_en.css" ) }}>