Skip to content

Commit 9707900

Browse files
authored
Merge pull request #2 from onixbyte/develop
feat: add favicon
2 parents fb4a887 + ab754d1 commit 9707900

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/.vitepress/config.mts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ import { defineConfig } from "vitepress"
22
import { britishEnglishConfig, simplifiedChineseConfig } from "./locale-config"
33

44
export default defineConfig({
5+
head: [
6+
["link", { rel: "icon", href: "https://dist.onixbyte.com/OnixByte.png" }],
7+
],
58
locales: {
69
root: britishEnglishConfig,
7-
"zh-CN": simplifiedChineseConfig
10+
"zh-CN": simplifiedChineseConfig,
811
},
912
themeConfig: {
1013
socialLinks: [{ icon: "github", link: "https://github.com/onixbyte" }],

0 commit comments

Comments
 (0)