fix: v1.12.6 修复配置moreArticle后在首页不生效的问题
This commit is contained in:
parent
946319aa6d
commit
d6d01e8581
|
|
@ -148,7 +148,7 @@ export default defineConfig4CustomTheme<VdoingThemeConfig>({
|
|||
// contentBgStyle: 1, // 文章内容块的背景风格,默认无. 1 方格 | 2 横线 | 3 竖线 | 4 左斜线 | 5 右斜线 | 6 点状
|
||||
|
||||
// updateBar: { // 最近更新栏
|
||||
// showToArticle: false, // 显示到文章页底部,默认true
|
||||
// showToArticle: true, // 显示到文章页底部,默认true
|
||||
// moreArticle: '/archives' // “更多文章”跳转的页面,默认'/archives'
|
||||
// },
|
||||
// rightMenuBar: false, // 是否显示右侧文章大纲栏,默认true (屏宽小于1300px下无论如何都不显示)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
"vuepress-plugin-one-click-copy": "^1.0.2",
|
||||
"vuepress-plugin-thirdparty-search": "^1.0.2",
|
||||
"vuepress-plugin-zooming": "^1.1.7",
|
||||
"vuepress-theme-vdoing": "^1.12.5",
|
||||
"vuepress-theme-vdoing": "^1.12.6",
|
||||
"yamljs": "^0.3.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -116,6 +116,9 @@
|
|||
class="card-box"
|
||||
v-if="homeData.postList === 'simple'"
|
||||
:length="homeData.simplePostListLength || 10"
|
||||
:moreArticle="
|
||||
$themeConfig.updateBar && $themeConfig.updateBar.moreArticle
|
||||
"
|
||||
/>
|
||||
|
||||
<!-- 详情版文章列表 -->
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "vuepress-theme-vdoing",
|
||||
"version": "1.12.5",
|
||||
"version": "1.12.6",
|
||||
"description": "Vdoing theme for VuePress. 一个基于VuePress的知识管理兼博客主题。",
|
||||
"author": {
|
||||
"name": "gaoyi(Evan) Xu"
|
||||
|
|
|
|||
Loading…
Reference in New Issue