diff --git a/astro.config.mjs b/astro.config.mjs
index 1c7c63c..efcb4bb 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -48,6 +48,38 @@ export default defineConfig({
weights: [300, 400, 500, 600, 700],
display: "swap",
},
+ {
+ provider: fontProviders.google(),
+ name: "Noto Sans JP",
+ cssVariable: "--font-jp",
+ weights: ["100-900"],
+ fallbacks: ["Source Han Sans", "sans-serif"],
+ display: "swap",
+ },
+ {
+ provider: fontProviders.google(),
+ name: "Noto Sans HK",
+ cssVariable: "--font-hk",
+ weights: ["100-900"],
+ fallbacks: ["Source Han Sans HC", "sans-serif"],
+ display: "swap",
+ },
+ {
+ provider: fontProviders.google(),
+ name: "Noto Sans TC",
+ cssVariable: "--font-tw",
+ weights: ["100-900"],
+ fallbacks: ["Source Han Sans TC", "sans-serif"],
+ display: "swap",
+ },
+ {
+ provider: fontProviders.google(),
+ name: "Noto Sans SC",
+ cssVariable: "--font-cn",
+ weights: ["100-900"],
+ fallbacks: ["Source Han Sans SC", "sans-serif"],
+ display: "swap",
+ },
],
image: {
diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro
index 0cda73c..c12fd67 100644
--- a/src/components/BaseHead.astro
+++ b/src/components/BaseHead.astro
@@ -46,6 +46,10 @@ const { title, description, image = "/og_img_um.png" } = Astro.props;
+{Astro.params.lang == "ja" && ()}
+{Astro.params.lang == "zh_HK" && ()}
+{Astro.params.lang == "zh_Hant" && ()}
+{Astro.params.lang == "zh_Hans" && ()}