Skip to content

Commit 536a289

Browse files
committed
font pre-loading
1 parent ec6fd4d commit 536a289

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

html/base.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
<link rel="apple-touch-icon" href="{{ SITE_URL }}/favicon.png" />
3030

31-
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
31+
<meta name="viewport" content="initial-scale=1,maximum-scale=5,user-scalable=yes" />
3232
<style>
3333
body, html {
3434
margin: 0;
@@ -354,7 +354,9 @@
354354
<link rel="preload" href="https://fonts.gstatic.com/s/lato/v24/S6uyw4BMUTPHjx4wXiWtFCc.woff2" as="font" type="font/woff2" crossorigin>
355355
<link rel="preload" href="https://fonts.gstatic.com/s/emilycandy/v19/WBLgrEbUbFlYW6-M8CeAS6mKrwXhQQ.woff2" as="font" type="font/woff2" crossorigin>
356356

357-
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Emilys+Candy&family=Roboto+Slab&display=swap" rel="stylesheet">
357+
<!-- Load fonts asynchronously to prevent render blocking -->
358+
<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'">
359+
<noscript><link href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Emilys+Candy&family=Roboto+Slab&display=swap" rel="stylesheet"></noscript>
358360
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
359361
</head>
360362
<!-- Google tag (gtag.js) -->

0 commit comments

Comments
 (0)