mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
docs: update comments in theme guides and configuration files
This commit is contained in:
parent
bf20fb4014
commit
b72b59358b
9 changed files with 83 additions and 165 deletions
|
@ -81,6 +81,7 @@ global: {
|
|||
// 字體樣式
|
||||
fontStyle: 'sans' // sans, serif
|
||||
// 文章日期格式
|
||||
// 2025-04-13, 04-13-2025, 13-04-2025, Mar 13 2025,13 Mar 2025
|
||||
dateFormat: 'YYYY-MM-DD' // YYYY-MM-DD, MM-DD-YYYY, DD-MM-YYYY, MONTH DAY YYYY, DAY MONTH YYYY
|
||||
// 啟用 KaTeX 數學公式渲染
|
||||
katex: true // true, false
|
||||
|
@ -253,8 +254,8 @@ getImageOptions: (_path, page) => ({
|
|||
},
|
||||
},
|
||||
fonts: [ // 字體路徑(本地或遠程)
|
||||
'https://raw.githubusercontent.com/notofonts/noto-cjk/main/Sans/SubsetOTF/SC/NotoSansSC-Bold.otf',
|
||||
'https://raw.githubusercontent.com/notofonts/noto-cjk/main/Sans/SubsetOTF/SC/NotoSansSC-Regular.otf',
|
||||
'https://cdn.jsdelivr.net/gh/notofonts/noto-cjk@main/Sans/SubsetOTF/SC/NotoSansSC-Bold.otf',
|
||||
'https://cdn.jsdelivr.net/gh/notofonts/noto-cjk@main/Sans/SubsetOTF/SC/NotoSansSC-Regular.otf',
|
||||
],
|
||||
bgGradient: [[242, 241, 245]], // 背景色
|
||||
// 更多配置:https://github.com/delucis/astro-og-canvas/tree/latest/packages/astro-og-canvas
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue