Skip to content

Commit 9819afc

Browse files
committed
Reorganized <link rel="preconnect> tags for improved font loading
1 parent e28bf90 commit 9819afc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@
6161
<meta itemprop="description" content="{{ meta_description }}">
6262
<meta itemprop="image" content="{{ site.url }}/images/og-image.png">
6363

64-
<link rel="stylesheet" type="text/css" href="/stylesheets/main.css">
6564
<link rel="preconnect" href="https://fonts.googleapis.com">
6665
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
6766
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Sans+KR:wght@100..900&family=Noto+Sans+SC:wght@100..900&family=Noto+Sans+TC:wght@100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Material+Icons&family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..24,200..700,0,0&display=swap" rel="stylesheet">
67+
<link rel="stylesheet" type="text/css" href="/stylesheets/main.css">
6868
<link rel="canonical" href="{{ site.url }}{{ page.url | replace: 'index.html', '' }}">
6969

7070
<link rel="icon" href="/favicon.ico" sizes="32x32">

_layouts/homepage.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
<meta itemprop="description" content="{{ meta_description }}">
3939
<meta itemprop="image" content="{{ site.url }}/images/og-image.png">
4040

41-
<link rel="stylesheet" type="text/css" href="/stylesheets/main.css">
4241
<link rel="preconnect" href="https://fonts.googleapis.com">
4342
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
4443
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Sans+KR:wght@100..900&family=Noto+Sans+SC:wght@100..900&family=Noto+Sans+TC:wght@100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Material+Icons&family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..24,200..700,0,0&display=swap" rel="stylesheet">
44+
<link rel="stylesheet" type="text/css" href="/stylesheets/main.css">
4545
<link rel="canonical" href="{{ site.url }}{{ page.url | replace: 'index.html', '' }}">
4646

4747
<link rel="icon" href="/favicon.ico" sizes="32x32">

0 commit comments

Comments
 (0)