Compare commits
5 Commits
ced2361985
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 69770c635b | |||
| 23398da9db | |||
| 98ed0b6ad4 | |||
| c9c71955c0 | |||
| 52dbab5fa7 |
@@ -41,14 +41,11 @@ if (footerConfig.enable) {
|
|||||||
{customFooterHtml && (
|
{customFooterHtml && (
|
||||||
<div class="mb-2" set:html={customFooterHtml}></div>
|
<div class="mb-2" set:html={customFooterHtml}></div>
|
||||||
)}
|
)}
|
||||||
© <span id="copyright-year">{currentYear}</span> {profileConfig.name}. All Rights Reserved. /
|
© <span id="copyright-year">{currentYear}</span> {profileConfig.name}. 千里之行,始于足下.
|
||||||
|
Powered by
|
||||||
|
<a class="transition link text-[var(--primary)] font-medium" target="_blank" href="https://astro.namyki.top">Namyki</a> <br/>
|
||||||
<a class="transition link text-[var(--primary)] font-medium" href={url('rss/')} onclick={`event.preventDefault(); navigateToPage('${url('rss/')}')`}>RSS</a> /
|
<a class="transition link text-[var(--primary)] font-medium" href={url('rss/')} onclick={`event.preventDefault(); navigateToPage('${url('rss/')}')`}>RSS</a> /
|
||||||
<a class="transition link text-[var(--primary)] font-medium" href={url('atom/')} onclick={`event.preventDefault(); navigateToPage('${url('atom/')}')`}>Atom</a> /
|
<a class="transition link text-[var(--primary)] font-medium" href={url('atom/')} onclick={`event.preventDefault(); navigateToPage('${url('atom/')}')`}>Atom</a> /
|
||||||
<a class="transition link text-[var(--primary)] font-medium" target="_blank" href={url('sitemap-index.xml')}>Sitemap</a><br>
|
<a class="transition link text-[var(--primary)] font-medium" target="_blank" href={url('sitemap-index.xml')}>Sitemap</a>
|
||||||
Powered by
|
|
||||||
<a class="transition link text-[var(--primary)] font-medium" target="_blank" href="https://astro.build">Astro</a> &
|
|
||||||
<a class="transition link text-[var(--primary)] font-medium" target="_blank" href="https://github.com/matsuzaka-yuki/mizuki">Mizuki</a> Version <a class="transition link text-[var(--primary)] font-medium" target="_blank" href="https://github.com/matsuzaka-yuki/mizuki">7.6</a><br>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -184,15 +184,15 @@ export const siteConfig: SiteConfig = {
|
|||||||
// 英文字体 - 优先级最高
|
// 英文字体 - 优先级最高
|
||||||
// 指定为英文字体则无论字体包含多大范围,都只会保留 ASCII 字符子集
|
// 指定为英文字体则无论字体包含多大范围,都只会保留 ASCII 字符子集
|
||||||
fontFamily: "ZenMaruGothic-Medium",
|
fontFamily: "ZenMaruGothic-Medium",
|
||||||
fontWeight: "400",
|
fontWeight: "500",
|
||||||
localFonts: ["ZenMaruGothic-Medium.ttf"],
|
localFonts: ["ZenMaruGothic-Medium.ttf"],
|
||||||
enableCompress: true, // 启用字体子集优化,减少字体文件大小
|
enableCompress: true, // 启用字体子集优化,减少字体文件大小
|
||||||
},
|
},
|
||||||
cjkFont: {
|
cjkFont: {
|
||||||
// 中日韩字体 - 作为回退字体
|
// 中日韩字体 - 作为回退字体
|
||||||
fontFamily: "futomaru401",
|
fontFamily: "XiangcuiDengcusong",
|
||||||
fontWeight: "500",
|
fontWeight: "400",
|
||||||
localFonts: ["futomaru401.ttf"],
|
localFonts: ["XiangcuiDengcusong.ttf"],
|
||||||
enableCompress: true, // 启用字体子集优化,减少字体文件大小
|
enableCompress: true, // 启用字体子集优化,减少字体文件大小
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -18,8 +18,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'futomaru401';
|
font-family: 'XiangcuiDengcusong';
|
||||||
src: url('/assets/font/futomaru401.woff2') format('woff2');
|
src: url('/assets/font/XiangcuiDengcusong.woff2') format('woff2');
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"ignoreDeprecations": "6.0",
|
||||||
"target": "ESNext",
|
"target": "ESNext",
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"moduleResolution": "bundler",
|
"moduleResolution": "bundler",
|
||||||
|
|||||||
Reference in New Issue
Block a user