summaryrefslogtreecommitdiff
path: root/layouts/_partials
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
commit1383cc5caa7a4b2ebc0da4eeb94046538ff8813f (patch)
treec2be0e90826cf3b19e17b8c8dd997c4e6db56818 /layouts/_partials
parent3fef3e5dbaed106ea4dada366e92b583c1b73b74 (diff)
perf: remove Google Fonts
Diffstat (limited to 'layouts/_partials')
-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>