diff --git a/themes/stack/assets/scss/variables.scss b/themes/stack/assets/scss/variables.scss index 766dffc..623e369 100644 --- a/themes/stack/assets/scss/variables.scss +++ b/themes/stack/assets/scss/variables.scss @@ -33,7 +33,7 @@ */ :root { --sys-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Droid Sans", "Helvetica Neue"; - --base-font-family: "Lato", var(--sys-font-family), sans-serif; + --base-font-family: var(--sys-font-family), sans-serif; --code-font-family: Menlo, Monaco, Consolas, "Courier New", monospace; } diff --git a/themes/stack/layouts/_partials/head/custom-font.html b/themes/stack/layouts/_partials/head/custom-font.html index 8ab9cb2..6c12d6b 100644 --- a/themes/stack/layouts/_partials/head/custom-font.html +++ b/themes/stack/layouts/_partials/head/custom-font.html @@ -1,4 +1,2 @@ - - - - +{{- /* 移除 Google Fonts 外部依赖,改用系统字体栈,提升国内加载速度 */ -}} +{{- /* 原版默认加载 fonts.googleapis.com Lato,导致国内访问慢/阻塞渲染 */ -}}