Skip to content

Commit

Permalink
再试着修下
Browse files Browse the repository at this point in the history
  • Loading branch information
“postyizhan” committed Jan 29, 2024
1 parent a115a26 commit 456c832
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default defineConfig({
themeConfig: {
i18nRouting: false,

logo: 'logo.png',
logo: '/logo.png',

nav,
sidebar,
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hero:
text: ↑臭不要脸的笨蛋
tagline: 乐子文档 导航页面
image:
src: logo.png
src: /logo.png
alt: 乐子文档
actions:
- text: QQ频道
Expand Down
2 changes: 1 addition & 1 deletion docs/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## medium-zoom

![medium-zoom](logo.png)
![medium-zoom](//logo.png)

## vite-plugin-markdown-preview

Expand Down
4 changes: 2 additions & 2 deletions guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ hero:
text: 个人前端导航 //左侧第二行
tagline: 使用 VitePress 打造个人前端导航 //第三行小注内容
image:
src: logo.png //页面大图地址(图像最好切圆后使用)
src: /logo.png //页面大图地址(图像最好切圆后使用)
alt: 茂茂物语
actions: //跳转按钮,可按需增减
- text: 茂茂物语
Expand Down Expand Up @@ -186,7 +186,7 @@ export default defineConfig({
themeConfig: {
i18nRouting: false,

logo: 'logo.png', //更改此处
logo: '/logo.png', //更改此处
```
---
Expand Down

0 comments on commit 456c832

Please sign in to comment.