Skip to content

Commit

Permalink
添加上次更新
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangjinzhe committed Jul 26, 2023
1 parent 9c64214 commit 6d3701b
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 40 deletions.
81 changes: 41 additions & 40 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,45 @@ import routers from "./router";

// https://vitepress.dev/reference/site-config
export default defineConfig(
{
lang: 'zh-CN',
outDir: "./dist",
title: "张晋哲",
description: "",
markdown: {
lineNumbers: true
},
head: [
[
'link',{ rel: 'icon', href: '/images/logo.webp' }
]
],
themeConfig: {
returnToTopLabel: '返回顶部',
algolia: {
appId: 'PDEGHFPKIN',
apiKey: '6f186bf493b18009f5fd2b63a468d0e1',
indexName: 'zhangjinzhe.cn'
},
logo: '/images/logo.webp',
footer: {
message: '鲁ICP备2022007356号-1',
copyright: 'Copyright © 2020 - present 张晋哲</a>'
},
nav: routers.nav,
sidebar: routers.sidebar,
docFooter: {
prev: '上一篇',
next: '下一篇'
},
outline: {
level: 'deep',
label: '目录'
},
socialLinks: [
{ icon: 'github', link: 'https://github.com/zhangjinzhepro' }
]
}
}
{
lang: 'zh-CN',
outDir: "./dist",
title: "张晋哲",
description: "",
markdown: {
lineNumbers: true
},
head: [
[
'link',{ rel: 'icon', href: '/images/logo.webp' }
]
],
themeConfig: {
lastUpdated: '上次更新',
returnToTopLabel: '返回顶部',
algolia: {
appId: 'PDEGHFPKIN',
apiKey: '6f186bf493b18009f5fd2b63a468d0e1',
indexName: 'zhangjinzhe.cn'
},
logo: '/images/logo.webp',
footer: {
message: '鲁ICP备2022007356号-1',
copyright: 'Copyright © 2020 - present 张晋哲</a>'
},
nav: routers.nav,
sidebar: routers.sidebar,
docFooter: {
prev: '上一篇',
next: '下一篇'
},
outline: {
level: 'deep',
label: '目录'
},
socialLinks: [
{ icon: 'github', link: 'https://github.com/zhangjinzhepro' }
]
}
}
)
6 changes: 6 additions & 0 deletions docs/blog/portal/components/nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,12 @@ export const NAV_DATA: NavData[] = [
icon: 'https://uranus-static.oss-accelerate.aliyuncs.com/xiezuocat/favicon.ico\n',
link: 'https://xiezuocat.com/'
},
{
title: 'StockAI.Trade',
desc: '基于ChatGPT的AI选股工具',
icon: 'https://stockai.trade/favicon.ico\n',
link: 'https://stockai.trade/'
},
]
},
{
Expand Down

0 comments on commit 6d3701b

Please sign in to comment.