Skip to content

Commit 2f598cb

Browse files
committed
add: metadata for google site verification
Signed-off-by: nullptr-t-oss <127822226+0x-br0k3n@users.noreply.github.com>
1 parent 34fac20 commit 2f598cb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/.vitepress/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default defineConfigWithTheme<ThemeConfig>({
3333
title: "Java",
3434
description: "Java Notes",
3535
//base: '/java/',
36-
head,
36+
head: head,
3737
markdown: {
3838
math: true
3939
},

src/.vitepress/head.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type { HeadConfig } from 'vitepress'
22
const head: HeadConfig[] = [
3-
['meta', { name: 'viewport', content: 'width=device-width, initial-scale:1.0' }]
3+
['meta', { name: 'viewport', content: 'width=device-width, initial-scale:1.0' }],
4+
['meta', { name: 'google-site-verification', content: 'GPjKbbKm2LiGfIqYervNHRqj1Dxh7A_p-rGKBFJuY8g' }]
45
]
56
export default head

0 commit comments

Comments
 (0)