Skip to content

Commit

Permalink
feat: algolia meta data (#997)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunchanglong authored Jun 3, 2024
1 parent d1cd7fb commit 2dd1e7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/.vitepress/config/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export const enConfig = async () => ({
['meta', { property: 'twitter:image', content: 'https://greptime.com/resource/greptime_banner.png' }],
// Bing verify
['meta', { name: 'msvalidate.01', content: 'BD813946F80D5B50E162932BF3FD0D49' }],
['meta', { name: 'docsearch:language', content: 'en-US'}],
['meta', { name: 'docsearch:version', content: CURRENT_VERSION}]
],
locales: {
root: { label: 'English', lang: 'en-US', link: '/' },
Expand Down
2 changes: 2 additions & 0 deletions docs/.vitepress/config/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export const zhConfig = async () => ({
['meta', { property: 'twitter:image', content: 'https://greptime.com/resource/greptime_banner.png' }],
// Bing verify
['meta', { name: 'msvalidate.01', content: 'BD813946F80D5B50E162932BF3FD0D49' }],
['meta', { name: 'docsearch:language', content: 'zh-CN'}],
['meta', { name: 'docsearch:version', content: CURRENT_VERSION}]
],
locales: {
root: { label: '简体中文', lang: 'zh-CN', link: '/' },
Expand Down

0 comments on commit 2dd1e7b

Please sign in to comment.