Skip to content

Commit 0144dcf

Browse files
committed
remove async loading of fonts
1 parent 9bef967 commit 0144dcf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

html/base.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,8 @@
242242
<link rel="preload" href="https://fonts.gstatic.com/s/lato/v24/S6uyw4BMUTPHjx4wXiWtFCc.woff2" as="font" type="font/woff2" crossorigin>
243243
<link rel="preload" href="https://fonts.gstatic.com/s/emilycandy/v19/WBLgrEbUbFlYW6-M8CeAS6mKrwXhQQ.woff2" as="font" type="font/woff2" crossorigin>
244244

245-
<!-- Load fonts asynchronously to prevent render blocking -->
246-
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Emilys+Candy&family=Roboto+Slab&display=swap" rel="stylesheet" media="print" onload="this.media='all'">
247-
<noscript><link href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Emilys+Candy&family=Roboto+Slab&display=swap" rel="stylesheet"></noscript>
245+
<!-- Fonts loading normally to prevent FOIT -->
246+
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Emilys+Candy&family=Roboto+Slab&display=swap" rel="stylesheet">
248247
</head>
249248
<!-- Google tag (gtag.js) -->
250249
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z7XL0RM921"></script>

0 commit comments

Comments
 (0)