The Trans Directory
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: properly parse tags in body

+3 -2
+3 -2
quartz/plugins/transformers/ofm.ts
··· 290 290 } 291 291 292 292 tag = slugTag(tag) 293 - if (file.data.frontmatter?.tags?.includes(tag)) { 294 - file.data.frontmatter.tags.push(tag) 293 + if (file.data.frontmatter) { 294 + const noteTags = file.data.frontmatter.tags ?? [] 295 + file.data.frontmatter.tags = [...new Set([...noteTags, tag])] 295 296 } 296 297 297 298 return {