@@ -4,10 +4,26 @@ import Providers from '@/components/Providers';
44import '@ant-design/v5-patch-for-react-19' ;
55
66export const metadata : Metadata = {
7- title : '唯知导航' ,
8- description : '现代化的个人前端导航网站' ,
9- keywords : [ '导航' , '开发工具' , '资源导航' , 'weizwz' , '唯知为之' ] ,
10- authors : [ { name : ' weizwz' } ] ,
7+ title : {
8+ default : '唯知导航' ,
9+ template : '%s | 唯知导航' ,
10+ } ,
11+ description : '现代化的个人前端导航网站,提供开发工具、资源导航等功能' ,
12+ keywords : [ '导航' , '开发工具' , '资源导航' , 'weizwz' , '唯知为之' , '前端导航' , '开发者工具' ] ,
13+ authors : [ { name : 'weizwz' , url : 'https://github.com/weizwz' } ] ,
14+ creator : 'weizwz' ,
15+ publisher : 'weizwz' ,
16+ robots : {
17+ index : true ,
18+ follow : true ,
19+ googleBot : {
20+ index : true ,
21+ follow : true ,
22+ 'max-video-preview' : - 1 ,
23+ 'max-image-preview' : 'large' ,
24+ 'max-snippet' : - 1 ,
25+ } ,
26+ } ,
1127 icons : {
1228 icon : [
1329 { url : '/favicon.ico' , sizes : '16x16' , type : 'image/x-icon' } ,
@@ -16,6 +32,32 @@ export const metadata: Metadata = {
1632 shortcut : '/favicon.ico' ,
1733 apple : '/favicon-128.ico' ,
1834 } ,
35+ manifest : '/manifest.json' ,
36+ openGraph : {
37+ type : 'website' ,
38+ locale : 'zh_CN' ,
39+ url : 'https://nav.weizwz.com' ,
40+ title : '唯知导航' ,
41+ description : '现代化的个人前端导航网站' ,
42+ siteName : '唯知导航' ,
43+ images : [
44+ {
45+ url : '/logo.png' ,
46+ width : 512 ,
47+ height : 512 ,
48+ alt : '唯知导航 Logo' ,
49+ } ,
50+ ] ,
51+ } ,
52+ twitter : {
53+ card : 'summary_large_image' ,
54+ title : '唯知导航' ,
55+ description : '现代化的个人前端导航网站' ,
56+ images : [ '/logo.png' ] ,
57+ } ,
58+ alternates : {
59+ canonical : 'https://nav.weizwz.com' ,
60+ } ,
1961} ;
2062
2163export const viewport : Viewport = {
0 commit comments