修复:启用评论组件
This commit is contained in:
20
docs/.vitepress/config/head.ts
Normal file
20
docs/.vitepress/config/head.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import type { HeadConfig } from 'vitepress'
|
||||
import { metaData } from './constants'
|
||||
|
||||
export const head: HeadConfig[] = [
|
||||
['link', { rel: 'icon', href: '/favicon.ico' }],
|
||||
['meta', { name: 'author', content: 'Charles7c' }],
|
||||
['meta', { name: 'keywords', content: '查尔斯的知识库, 知识库, 博客, Charles7c' }],
|
||||
|
||||
['meta', { name: 'HandheldFriendly', content: 'True' }],
|
||||
['meta', { name: 'MobileOptimized', content: '320' }],
|
||||
['meta', { name: 'theme-color', content: '#3c8772' }],
|
||||
|
||||
['meta', { property: 'og:type', content: 'website' }],
|
||||
['meta', { property: 'og:locale', content: metaData.locale }],
|
||||
['meta', { property: 'og:title', content: metaData.title }],
|
||||
['meta', { property: 'og:description', content: metaData.description }],
|
||||
['meta', { property: 'og:site', content: metaData.site }],
|
||||
['meta', { property: 'og:site_name', content: metaData.title }],
|
||||
['meta', { property: 'og:image', content: metaData.image }]
|
||||
]
|
Reference in New Issue
Block a user