File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ pnpm build
5757| title | 网站标题 | ` string ` | - |
5858| description | 网站描述 | ` string ` | - |
5959| lang | 语言 | ` string ` | ` zh-CN ` |
60- | theme | 主题 | `{ mode: 'auto' | 'light' | 'dark', enableUserChange: boolean }` | ` { mode: 'auto', enableUserChange: true } ` |
60+ | theme | 主题 | ` { mode: 'auto' \ | 'light' \ | 'dark', enableUserChange: boolean } ` | ` { mode: 'auto', enableUserChange: true } ` |
6161| avatar | 头像 | ` string ` | - |
6262| sitemap | 网站 sitemap 配置 | [ SitemapOptions] ( https://docs.astro.build/zh-cn/guides/integrations-guide/sitemap/ ) | - |
6363| readTime | 是否显示阅读时间 | ` boolean ` | ` false ` |
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ Theme configuration is done through `slate.config.ts` in the root directory.
6868| title | Website title | ` string ` | - |
6969| description | Website description | ` string ` | - |
7070| lang | Language | ` string ` | ` zh-CN ` |
71- | theme | Theme | `{ mode: 'auto' | 'light' | 'dark', enableUserChange: boolean }` | ` { mode: 'auto', enableUserChange: true } ` |
71+ | theme | Theme | ` { mode: 'auto' \ | 'light' \ | 'dark', enableUserChange: boolean } ` | ` { mode: 'auto', enableUserChange: true } ` |
7272| avatar | Avatar | ` string ` | - |
7373| sitemap | Website sitemap configuration | [ SitemapOptions] ( https://docs.astro.build/en/guides/integrations-guide/sitemap/ ) | - |
7474| readTime | Show reading time | ` boolean ` | ` false ` |
You can’t perform that action at this time.
0 commit comments