重构:扩展默认主题配置,文章标题下新增显示作者名及发布时间信息

This commit is contained in:
2022-07-24 11:31:49 +08:00
parent 40676da91e
commit 43723a1de8
14 changed files with 104 additions and 19 deletions

View File

@@ -32,5 +32,11 @@ export const themeConfig: DefaultTheme.Config = {
{ icon: 'github', link: 'https://github.com/Charles7c/charles7c.github.io' }
],
nav, // 导航栏配置
sidebar // 侧边栏配置
sidebar, // 侧边栏配置
// 文章元数据配置
articleMetadataConfig: {
author: '查尔斯', // 文章全局默认作者名称
authorLink: '/about/me' // 点击作者名时默认跳转的链接
}
}