Added preconnect for Google Fonts for faster loading

This commit is contained in:
squidfunk
2018-02-22 19:15:32 +01:00
parent de1c3d515e
commit 36ec35c2e4
3 changed files with 8 additions and 0 deletions

View File

@@ -115,6 +115,9 @@
<!-- Webfonts -->
{% block fonts %}
<link href="https://fonts.gstatic.com" rel="preconnect" crossorigin />
<!-- Load fonts from Google -->
{% if font != false %}
<link rel="stylesheet" type="text/css"
href="https://fonts.googleapis.com/css?family={{