Skip to content

Commit 0947150

Browse files
committed
chore: preload fonts 🤷
1 parent 069a276 commit 0947150

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/base.html.jinja2

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
<title>{% block title %}blog.mtib.dev{% endblock %}</title>
88
<link rel="preconnect" href="https://fonts.googleapis.com">
99
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10-
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@500&display=swap" rel="stylesheet">
10+
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@500&display=swap" rel="preload" as="style"
11+
onload="this.onload=null;this.rel='stylesheet'">
12+
<noscript>
13+
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@500&display=swap" rel="stylesheet">
14+
</noscript>
1115
<link rel="stylesheet" href="./main.css">
1216
<link rel="icon" href="/assets/m.png">
1317
<meta name="application-name" content="blog.mtib.dev">

0 commit comments

Comments
 (0)