Skip to content

Commit

Permalink
docs: 添加sitemap配置,设置主机名为'https://hyperf.fans'
Browse files Browse the repository at this point in the history
  • Loading branch information
huangdijia committed Nov 28, 2024
1 parent a664a38 commit 9f28374
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ export default defineConfig({
}
}
},
sitemap: {
hostname: 'https://hyperf.fans'
},
themeConfig: {
outline:{
label: '页面导航',
Expand Down Expand Up @@ -98,10 +101,6 @@ export default defineConfig({

socialLinks: [
{ icon: 'github', link: 'https://github.com/friendsofhyperf/components' },
],

sitemap: {
hostname: 'https://hyperf.fans'
}
]
}
})

0 comments on commit 9f28374

Please sign in to comment.