Skip to content

Commit

Permalink
修复文章永久链接冲突
Browse files Browse the repository at this point in the history
  • Loading branch information
lvxuan149 committed Sep 17, 2024
1 parent 19175cb commit 2d7eefa
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
25 changes: 23 additions & 2 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,28 @@ module.exports = {
}
},
plugins: [
'@vuepress/back-to-top',
'@vuepress/medium-zoom',
['@vuepress/blog', {
directories: [
{
id: 'post',
dirname: '_posts',
path: '/post/',
itemPermalink: '/post/:slug',
},
],
frontmatters: [
{
id: 'tag',
keys: ['tag', 'tags'],
path: '/tag/',
},
{
id: 'category',
keys: ['category', 'categories'],
path: '/category/',
},
],
}],
],
// 其他配置...
}
1 change: 0 additions & 1 deletion docs/Post/VueVsReact.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,4 @@ JavaScript:




###

0 comments on commit 2d7eefa

Please sign in to comment.