Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/davidhampgonsalves/hugo-black-and-light-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXuejie Xiao <xxuejie@gmail.com>2019-07-22 11:24:02 +0300
committerXuejie Xiao <xxuejie@gmail.com>2019-07-22 11:25:41 +0300
commite5bc9b76d8ac2cf10262c1e12c88a5f5ed6b8522 (patch)
treea8b428d30fbd25451a0d20d74fd7b3c2e19dae04
parent6659e02d85bfec8b7bc582330ac5fa723253292f (diff)
Add font-display optimization to Google Fonts links
-rw-r--r--layouts/partials/header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 71f3f07..60f3f9c 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -10,7 +10,7 @@
{{ if .Site.Params.description }}<meta name="description" content="{{ .Site.Params.description }}">{{ end }}
{{ if not .Site.Params.disableWebFonts }}
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400|Old+Standard+TT:400' rel='stylesheet' type='text/css'>
+ <link href='https://fonts.googleapis.com/css?family=Open+Sans:400|Old+Standard+TT:400&display=swap' rel='stylesheet' type='text/css'>
{{ end }}
<link rel="icon" type="image/png" href="/favicon_16x16.png" sizes="16x16">