Skip to content

Commit 00f5d3b

Browse files
committed
fix($plugin-blog): category field in frontmatter doesn't work (close: #941)
1 parent 1dd1b55 commit 00f5d3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vuepress/plugin-blog/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ module.exports = (options, ctx) => {
106106
tags.forEach(tag => handleTag(tag, key))
107107
}
108108
if (isString(category)) {
109-
handleCategory(categories, key)
109+
handleCategory(category, key)
110110
}
111111
if (Array.isArray(categories)) {
112112
categories.forEach(category => handleCategory(category, key))

0 commit comments

Comments
 (0)