polish
This commit is contained in:
1 parent
b3480bdc49
commit
b90590b9f4
7 files changed
+24
-8
No files matched your search
@@ -30,7 +30,7 @@ export const FrontMatter: QuartzTransformerPlugin<Partial<Options> | undefined>
|
||||
})
|
||||
|
||||
if (data.tags && !Array.isArray(data.tags)) {
|
||||
data.tags = data.tags.toString().split(" ")
|
||||
data.tags = data.tags.toString().split(",").map((tag: string) => tag.trim())
|
||||
}
|
||||
|
||||
// fill in frontmatter
|
||||
|
||||
Reference in new issue
Block a user