From 94d6f2c68b2e58e06e1f7ec0586cdcc6c98b1a02 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Fri, 17 May 2019 18:57:11 +0200 Subject: [PATCH] Added font-display: swap to Google Font loading --- material/base.html | 2 +- src/base.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/material/base.html b/material/base.html index 577bfbee4..1dd0a7f34 100644 --- a/material/base.html +++ b/material/base.html @@ -74,7 +74,7 @@ + }}&display=swap"> {% endif %} {% endblock %} diff --git a/src/base.html b/src/base.html index c2f894251..0d1508e7d 100644 --- a/src/base.html +++ b/src/base.html @@ -145,7 +145,7 @@ href="https://fonts.googleapis.com/css?family={{ font.text | replace(' ', '+') + ':300,400,400i,700|' + font.code | replace(' ', '+') - }}" /> + }}&display=swap" />