Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

Commit 90ef951

Browse files
authored
Merge pull request #33 from IGCrystal-NEO/fix-logo
docs: move logo to public
2 parents aed2f24 + 0d9852a commit 90ef951

5 files changed

Lines changed: 4 additions & 3 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ __pycache__/
22
venv/
33
.DS_Store
44
node_modules/
5-
.vitepress/cache
5+
.vitepress/cache
6+
*dist

.vitepress/config/head.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const head: HeadConfig[] = [
99
["link", { rel: "stylesheet", href: "https://fonts.googleapis.cn/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap" }],
1010

1111
// --- 基础和SEO元数据 ---
12-
["link", { rel: "icon", href: "source/images/logo.png" }],
12+
["link", { rel: "icon", href: "/logo.png" }],
1313
["meta", { name: "description", content: "AstrBot" }],
1414
[
1515
"meta",

.vitepress/config/theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const themeConfig: DefaultTheme.Config = {
99
],
1010
sidebar,
1111

12-
logo: 'source/images/logo.png',
12+
logo: '/logo.png',
1313
outline: {
1414
level: 'deep',
1515
label: '目录',

public/logo.png

1.43 KB
Loading

public/logo_prod.png

78.8 KB
Loading

0 commit comments

Comments
 (0)