File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
export const seo = {
2
2
title : 'home | zhw' ,
3
+ template : '%s | zhw' ,
3
4
ogTitle : 'blog' ,
5
+ googleVerification : 'b5XlnZ2XQ3JyrQA-lLjSnn6xxoTLLEllW6qzXkfey-Y' ,
4
6
description : '我是zhw,欢迎来到我的博客' ,
7
+ keywords : 'zhw blog' ,
5
8
word : '沉淀' ,
6
9
url : new URL (
7
10
process . env . NODE_ENV === 'production'
Original file line number Diff line number Diff line change @@ -12,11 +12,12 @@ import { sansFont, serifFont } from '@/lib/fonts';
12
12
export const metadata : Metadata = {
13
13
metadataBase : seo . url ,
14
14
title : {
15
- template : '%s | zhw' ,
15
+ template : seo . template ,
16
16
default : seo . title ,
17
17
} ,
18
18
description : seo . description ,
19
- keywords : 'zhw blog' ,
19
+ keywords : seo . keywords ,
20
+ verification : { google : seo . googleVerification } ,
20
21
icons : [ { rel : 'icon' , url : '/favicon.ico' } ] ,
21
22
// manifest: '/site.webmanifest', //pwa
22
23
robots : {
You can’t perform that action at this time.
0 commit comments