夜间模式

This commit is contained in:
2026-06-18 18:38:38 +08:00 Unverified
parent aa87051c15
commit b066a94ce3
8 changed files with 896 additions and 80 deletions
+5 -1
View File
@@ -15,7 +15,11 @@ export function getSitePages(): SitePage[] {
return Object.entries(modules)
.filter(([path]) => {
if (path.includes('/_posts/') || path.includes('/_drafts/')) return false;
return !['/source/categories/index.md', '/source/tags/index.md'].includes(path);
return ![
'/source/categories/index.md',
'/source/tags/index.md',
'/source/shuoshuo/index.md',
].includes(path);
})
.map(([path, module]) => {
const slug = path.replace('/source/', '').replace('/index.md', '');