夜间模式
This commit is contained in:
+5
-1
@@ -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', '');
|
||||
|
||||
Reference in New Issue
Block a user