关闭landing主题

This commit is contained in:
tangly1024
2023-07-07 21:00:07 +08:00
parent bfb343beeb
commit ee39d69817
3 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,8 @@ function scanSubdirectories(directory) {
const fullPath = path.join(directory, file)
const stats = fs.statSync(fullPath)
if (stats.isDirectory()) {
// landing主题比较特殊不在可切换的主题中显示
if (stats.isDirectory() && file !== 'landing') {
subdirectories.push(file)
}
})