mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 07:33:07 +08:00
perf: update font load strategy for better performance
This commit is contained in:
@@ -65,10 +65,8 @@ const fallbackImageURL = new URL(SITE.ogImage, Astro.url.origin).href;
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link
|
||||
rel="preload"
|
||||
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap"
|
||||
as="style"
|
||||
onload="this.onload=null;this.rel='stylesheet'"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user