Compare commits

...

2 Commits

2 changed files with 5 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ const SITE_TIMEZONE = 8; //设置你的网站时区 from -12 to 12 default in UT
export const siteConfig: SiteConfig = {
title: "海の小屋",
subtitle: "工于至诚,学以致用",
siteURL: "https://blog.namyki.com/", // 请替换为你的站点URL以斜杠结尾
siteURL: "https://astro.namyki.com/", // 请替换为你的站点URL以斜杠结尾
siteStartDate: "2025-12-01", // 站点开始运行日期,用于站点统计组件计算运行天数
timeZone: SITE_TIMEZONE,
@@ -190,9 +190,9 @@ export const siteConfig: SiteConfig = {
},
cjkFont: {
// 中日韩字体 - 作为回退字体
fontFamily: "萝莉体 第二版",
fontFamily: "futomaru401",
fontWeight: "500",
localFonts: ["萝莉体 第二版.ttf"],
localFonts: ["futomaru401.ttf"],
enableCompress: true, // 启用字体子集优化,减少字体文件大小
},
},

View File

@@ -18,8 +18,8 @@
}
@font-face {
font-family: '萝莉体 第二版';
src: url('/assets/font/萝莉体 第二版.woff2') format('woff2');
font-family: 'futomaru401';
src: url('/assets/font/futomaru401.woff2') format('woff2');
font-weight: 400;
font-display: swap;
}