Skip to content

Commit

Permalink
perf: update home default config
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhanbo committed Mar 2, 2024
1 parent cca2262 commit 89c0085
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions theme/src/client/components/Home/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,14 @@ const config = computed(() => {
return config
return [{
type: 'banner',
banner: matter.value.banner,
bannerMask: matter.value.bannerMask,
hero: matter.value.hero,
type: 'hero',
full: true,
background: 'filter',
hero: matter.value.hero ?? {
name: 'Theme Plume',
tagline: 'VuePress Next Theme',
text: '一个简约的,功能丰富的 vuepress 文档&博客 主题',
},
}]
})
Expand Down

0 comments on commit 89c0085

Please sign in to comment.