Compare commits
2 Commits
309cce14ab
...
ced2361985
| Author | SHA1 | Date | |
|---|---|---|---|
| ced2361985 | |||
| 9c8564e14a |
@@ -22,7 +22,7 @@ const SITE_TIMEZONE = 8; //设置你的网站时区 from -12 to 12 default in UT
|
|||||||
export const siteConfig: SiteConfig = {
|
export const siteConfig: SiteConfig = {
|
||||||
title: "海の小屋",
|
title: "海の小屋",
|
||||||
subtitle: "工于至诚,学以致用",
|
subtitle: "工于至诚,学以致用",
|
||||||
siteURL: "https://blog.namyki.com/", // 请替换为你的站点URL,以斜杠结尾
|
siteURL: "https://astro.namyki.com/", // 请替换为你的站点URL,以斜杠结尾
|
||||||
siteStartDate: "2025-12-01", // 站点开始运行日期,用于站点统计组件计算运行天数
|
siteStartDate: "2025-12-01", // 站点开始运行日期,用于站点统计组件计算运行天数
|
||||||
|
|
||||||
timeZone: SITE_TIMEZONE,
|
timeZone: SITE_TIMEZONE,
|
||||||
@@ -190,9 +190,9 @@ export const siteConfig: SiteConfig = {
|
|||||||
},
|
},
|
||||||
cjkFont: {
|
cjkFont: {
|
||||||
// 中日韩字体 - 作为回退字体
|
// 中日韩字体 - 作为回退字体
|
||||||
fontFamily: "萝莉体 第二版",
|
fontFamily: "futomaru401",
|
||||||
fontWeight: "500",
|
fontWeight: "500",
|
||||||
localFonts: ["萝莉体 第二版.ttf"],
|
localFonts: ["futomaru401.ttf"],
|
||||||
enableCompress: true, // 启用字体子集优化,减少字体文件大小
|
enableCompress: true, // 启用字体子集优化,减少字体文件大小
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -18,8 +18,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: '萝莉体 第二版';
|
font-family: 'futomaru401';
|
||||||
src: url('/assets/font/萝莉体 第二版.woff2') format('woff2');
|
src: url('/assets/font/futomaru401.woff2') format('woff2');
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user