1 parent 64eaa24 commit f5fdd4eCopy full SHA for f5fdd4e
1 file changed
layouts/_default/baseof.html
@@ -19,6 +19,7 @@
19
20
{{- $googleFontsLink := .Site.Params.googleFontsLink | default "https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700" }}
21
{{- if hasPrefix $googleFontsLink "https://fonts.googleapis.com/" }}
22
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
23
<link rel="dns-prefetch" href="//fonts.googleapis.com">
24
<link rel="dns-prefetch" href="//fonts.gstatic.com">
25
<link rel="stylesheet" {{ printf `href="%s"` $googleFontsLink | safeHTMLAttr }}>
0 commit comments