mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
@@ -28,7 +28,7 @@ export function getAllTags({
|
||||
const AllTagInfos = {}
|
||||
// 遍历所有文章
|
||||
allPosts.forEach(post => {
|
||||
post.tags.forEach(tag => {
|
||||
post.tags?.forEach(tag => {
|
||||
// 如果标签已经存在
|
||||
if (AllTagInfos[tag]) {
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user