fix: 移除 Google Fonts 外部依赖,改用系统字体栈提升国内加载速度

This commit is contained in:
2026-08-21 20:56:20 +08:00
parent 5fc9c902f5
commit 0a840a0525
2 changed files with 3 additions and 5 deletions
@@ -1,4 +1,2 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap">
{{- /* 移除 Google Fonts 外部依赖,改用系统字体栈,提升国内加载速度 */ -}}
{{- /* 原版默认加载 fonts.googleapis.com Lato,导致国内访问慢/阻塞渲染 */ -}}