We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ee9656 commit 5789f5dCopy full SHA for 5789f5d
lib/notion/getAllTags.js
@@ -28,7 +28,7 @@ export function getAllTags({
28
const AllTagInfos = {}
29
// 遍历所有文章
30
allPosts.forEach(post => {
31
- post.tags.forEach(tag => {
+ post.tags?.forEach(tag => {
32
// 如果标签已经存在
33
if (AllTagInfos[tag]) {
34
if (
0 commit comments