summaryrefslogtreecommitdiff
path: root/layouts/_partials/head/css.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-11-01 09:29:22 +0800
committerEltrac <hi@guhub.cn>2025-11-01 09:29:22 +0800
commitb378e8e005bdf2532baa0bd913f4c13115b70470 (patch)
treeadd70bbd75f4ed3507bde5b3aaec50914ff942f1 /layouts/_partials/head/css.html
parent3f87b4729beb579475a5d5ecf25ae20dbb2df386 (diff)
perf: remove Google Fonts
Former-commit-id: 1383cc5caa7a4b2ebc0da4eeb94046538ff8813f
Diffstat (limited to 'layouts/_partials/head/css.html')
-rw-r--r--layouts/_partials/head/css.html9
1 files changed, 0 insertions, 9 deletions
diff --git a/layouts/_partials/head/css.html b/layouts/_partials/head/css.html
index 250ef4a3..f7fa9a9c 100644
--- a/layouts/_partials/head/css.html
+++ b/layouts/_partials/head/css.html
@@ -1,12 +1,3 @@
-<!-- Google Fonts -->
-<link rel="preconnect" href="https://fonts.googleapis.com">
-<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
-{{ if eq .Site.Language.Lang "zh" }}
-<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@200..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
-{{ else }}
-<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap" rel="stylesheet">
-{{ end }}
-
<!-- Aplayer -->
{{ with resources.Get "css/aplayer.css" }}
<style>{{ .Content | safeCSS }}</style>