Skip to content

Commit 2097b90

Browse files
committed
seo
1 parent de0e7fc commit 2097b90

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

docs/.vuepress/config.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default defineUserConfig({
4141
// 1
4242
['meta', { name: 'msvalidate.01', content: '8D5DDEA97F72740B73499AA520B67A1A' }],
4343
['meta', { name: 'google-site-verification', content: 'w-mIffst27-HZgRWHkWv7HnqgoWozVm8Lt45N50EmYg' }],
44-
['meta', { property: 'og:title', content: 'Karin' }],
44+
['meta', { property: 'og:title', content: 'Karin - 轻量、高效、简洁的 NodeJS 即时通讯机器人框架' }],
4545
['meta', { property: 'og:description', content: 'An open source high-performance bot framework built with TypeScript. Supports functions such as multi-adapter, multi-platform access and custom renderer.' }],
4646
['meta', { property: 'og:image', content: 'https://karinjs.com/logo.png' }],
4747
['meta', { property: 'og:image:width', content: '582' }],
@@ -116,6 +116,12 @@ export default defineUserConfig({
116116
},
117117
plugins: {
118118
// 如果您在此处直接声明为 true,则表示开发环境和生产环境都启用该功能
119+
seo: {
120+
hostname: 'https://karinjs.com',
121+
author: 'KarinJS Team',
122+
restrictions: '6+',
123+
autoDescription: true,
124+
},
119125
git: true,
120126
markdownPower: {
121127
imageSize: 'all', // 'local' | 'all'

0 commit comments

Comments
 (0)