forked from deepStateMirrors/tabi
✨ feat: support disabling header font-subset (#458)
Co-authored-by: welpo <welpo@users.noreply.github.com>
This commit is contained in:
parent
162a84b6d6
commit
799f3c0681
9 changed files with 54 additions and 28 deletions
|
@ -36,12 +36,14 @@
|
|||
|
||||
{# CSS #}
|
||||
{# Load subset of glyphs for header. Avoids flashing issue in Firefox #}
|
||||
{% if config.extra.custom_subset and config.extra.custom_subset == true %}
|
||||
<link rel="stylesheet" href="{{ get_url(path="custom_subset.css" , cachebust=true) }}">
|
||||
{% elif lang == 'en' %}
|
||||
<link rel="stylesheet" href="{{ get_url(path="inter_subset_en.css", cachebust=true ) }}">
|
||||
{% elif lang == 'es' %}
|
||||
<link rel="stylesheet" href="{{ get_url(path="inter_subset_es.css", cachebust=true ) }}">
|
||||
{% if config.extra.enable_subset %}
|
||||
{% if config.extra.custom_subset == true %}
|
||||
<link rel="stylesheet" href="{{ get_url(path="custom_subset.css" , cachebust=true) }}">
|
||||
{% elif lang == 'en' %}
|
||||
<link rel="stylesheet" href="{{ get_url(path="inter_subset_en.css", cachebust=true ) }}">
|
||||
{% elif lang == 'es' %}
|
||||
<link rel="stylesheet" href="{{ get_url(path="inter_subset_es.css", cachebust=true ) }}">
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{# Define array of CSS files to load. main.css is always loaded. #}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue