Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhihuaiwen committed May 20, 2024
1 parent 8aa0425 commit 1f54b4a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
10 changes: 9 additions & 1 deletion docs/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,15 @@ export default hopeTheme({
},

plugins: {
blog: true,
blog: {
excerptLength: 50,
type: [
{
key: "slide",
filter: (page) => page.frontmatter.layout === "Slide",
}
],
},
copyright: {
author: "wenzhihuai.com",
license: "MIT",
Expand Down
8 changes: 5 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
home: true
layout: BlogHome
---

<Catalog/>
icon: home
title: 首页
description: 一个基于VuePress的个人博客。
hero: false
---

0 comments on commit 1f54b4a

Please sign in to comment.