feat(docs): 添加网站图标配置

- 在head中添加favicon链接标签
- 配置图标类型为image/png
- 设置图标路径为/GFramework/favicon.png
This commit is contained in:
GeWuYou 2026-02-11 16:13:09 +08:00
parent 1fc5e0c708
commit b35450bb15
2 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,9 @@ export default defineConfig({
title: 'GFramework', title: 'GFramework',
description: '面向游戏开发场景的模块化 C# 框架', description: '面向游戏开发场景的模块化 C# 框架',
head: [
['link', { rel: 'icon', type: 'image/png', href: '/GFramework/favicon.png' }],
],
/** GitHub Pages / 子路径部署 */ /** GitHub Pages / 子路径部署 */
base: '/GFramework/', base: '/GFramework/',
vite: { vite: {

BIN
docs/public/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB