🐛 fix: remove flashing from header text (Firefox)
Loads a subset of the sans-serif font for the header. Fixes #75
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
{% import "macros/format_date.html" as macros_format_date %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang = "en">
|
||||
<html lang="{{ lang }}">
|
||||
{% include "partials/header.html" %}
|
||||
|
||||
<body>
|
||||
|
@@ -14,6 +14,17 @@
|
||||
{# RSS #}
|
||||
<link rel="alternate" type="application/atom+xml" title="{{ config.title }}" href="{{ get_url(path="atom.xml",
|
||||
trailing_slash=false) }}">
|
||||
|
||||
{# CSS #}
|
||||
{# Load subset of glyphs for header. Avoids flashing issue in Firefox #}
|
||||
{% if 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" ) }}>
|
||||
{% elif lang == 'es' %}
|
||||
<link rel="stylesheet" href={{ get_url(path="inter_subset_es.css" ) }}>
|
||||
{% endif %}
|
||||
|
||||
<link rel="stylesheet" type="text/css" media="screen" href={{ get_url(path="main.css" ) }} />
|
||||
|
||||
{% if config.extra.stylesheets %}
|
||||
|
Reference in New Issue
Block a user