Update build.js

This commit is contained in:
辉鸭蛋
2025-05-15 12:40:40 +08:00
committed by GitHub
parent 4e72bab8ad
commit 274c4c4d99

View File

@@ -289,6 +289,9 @@ function extractInfoFromPathingFile(filePath, parentFolders) {
// 确保标签数组中没有重复项
tags = [...new Set(tags)];
// 移除 "死亡笔记" 标签
tags = tags.filter(tag => tag !== '死亡笔记');
return {
author: contentObj.info.author || '',
description: convertNewlines(contentObj.info.description || ''),