Skip to content

Commit 5c13aed

Browse files
committed
fix: site ico
1 parent dab1c4d commit 5c13aed

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.vitepress/config.ts

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ export default defineConfig({
155155
metaChunk: true,
156156

157157
head: [
158-
['link', { rel: 'icon', href: '/favicon.svg', type: 'image/svg+xml' }],
159-
['link', { rel: 'alternate icon', href: '/favicon.ico', type: 'image/png', sizes: '16x16' }],
158+
['link', { rel: 'icon', href: '/easy-docs/favicon.svg', type: 'image/svg+xml' }],
159+
['link', { rel: 'alternate icon', href: '/easy-docs/favicon.ico', type: 'image/png', sizes: '16x16' }],
160160
['meta', { name: 'theme-color', content: '#55a578' }],
161161
['meta', { property: 'og:type', content: 'website' }],
162162
['meta', { property: 'og:locale', content: 'zh' }],
@@ -173,7 +173,8 @@ export default defineConfig({
173173
},
174174

175175
socialLinks: [
176-
{ icon: 'github', link: 'https://github.com/easy-temps' }
176+
{ icon: 'github', link: 'https://github.com/easy-temps' },
177+
{ icon: 'x', link: 'https://twitter.com/charlie9627' }
177178
],
178179

179180
nav: Nav,
@@ -191,6 +192,15 @@ export default defineConfig({
191192
pattern: 'https://github.com/easy-temps/easy-docs/edit/main/:path',
192193
text: '在 GitHub 上编辑此页面',
193194
},
195+
196+
lastUpdated: {
197+
text: '最后更新于'
198+
},
199+
200+
docFooter: {
201+
prev: '上一页',
202+
next: '下一页'
203+
},
194204

195205
footer: {
196206
message: '基于 MIT 许可发布',

0 commit comments

Comments
 (0)