diff --git a/templates/partials/header.html b/templates/partials/header.html
index 813a98b..714e5fc 100644
--- a/templates/partials/header.html
+++ b/templates/partials/header.html
@@ -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 %}
{% elif lang == 'en' %}