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

main
Xavier Vello 1 year ago committed by GitHub
parent d6aaa7651f
commit c79407e6d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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" ) }}>

Loading…
Cancel
Save