Skip to content

Commit

Permalink
fix: site ico
Browse files Browse the repository at this point in the history
  • Loading branch information
CharleeWa committed Apr 26, 2024
1 parent dab1c4d commit 5c13aed
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ export default defineConfig({
metaChunk: true,

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

socialLinks: [
{ icon: 'github', link: 'https://github.com/easy-temps' }
{ icon: 'github', link: 'https://github.com/easy-temps' },
{ icon: 'x', link: 'https://twitter.com/charlie9627' }
],

nav: Nav,
Expand All @@ -191,6 +192,15 @@ export default defineConfig({
pattern: 'https://github.com/easy-temps/easy-docs/edit/main/:path',
text: '在 GitHub 上编辑此页面',
},

lastUpdated: {
text: '最后更新于'
},

docFooter: {
prev: '上一页',
next: '下一页'
},

footer: {
message: '基于 MIT 许可发布',
Expand Down

0 comments on commit 5c13aed

Please sign in to comment.