Skip to content

Commit

Permalink
Merge pull request #26 from postyizhan/maomao1996-main
Browse files Browse the repository at this point in the history
merge
  • Loading branch information
lilingfengdev authored Jul 12, 2024
2 parents 26008ab + 89def3e commit 12732ab
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ import { head, nav, sidebar } from './configs'
const APP_BASE_PATH = basename(process.env.GITHUB_REPOSITORY || '')

export default defineConfig({

outDir: '../dist',
base: process.env.VITE_BASE_PATH || '/lezi-wiki',
base: APP_BASE_PATH ? `/${APP_BASE_PATH}/` : '/',

lang: 'zh-CN',
title: 'Lezi-Wiki',
description: '不太聪明的驿站 乐子记录之路',
title: '茂茂物语',
description: '茂茂的成长之路,包含前端常用知识、源码阅读笔记、各种奇淫技巧、日常提效工具等',
head,

ignoreDeadLinks: true,
Expand Down Expand Up @@ -41,10 +40,10 @@ export default defineConfig({
label: '目录',
},

socialLinks: [{ icon: 'github', link: 'https://github.com/postyizhan/lezi-wiki' }],
socialLinks: [{ icon: 'github', link: 'https://github.com/maomao1996/vitepress-nav-template' }],

footer: {
message: 'https://github.com/postyizhan/lezi-wiki',
message: '如有转载或 CV 的请标注本站原文地址',
copyright: 'Copyright © 2019-present maomao',
},

Expand All @@ -69,14 +68,14 @@ export default defineConfig({

/*** 自定义配置 ***/
visitor: {
badgeId: 'postyizhan.lezi-wiki',
badgeId: 'maomao1996.vitepress-nav-template',
},

comment: {
repo: 'postyizhan/lezi-wiki',
repoId: 'R_kgDOLJVBFA',
category: 'comment',
categoryId: 'DIC_kwDOLJVBFM4CerHO',
repo: 'maomao1996/vitepress-nav-template',
repoId: 'R_kgDOJC09Jg',
category: 'Announcements',
categoryId: 'DIC_kwDOJC09Js4Cekn0',
},
},

Expand Down

0 comments on commit 12732ab

Please sign in to comment.