File tree Expand file tree Collapse file tree 3 files changed +53
-1
lines changed Expand file tree Collapse file tree 3 files changed +53
-1
lines changed Original file line number Diff line number Diff line change 13
13
"socket.io-client" : " ^4.7.4" ,
14
14
"@feathersjs/client" : " ^5.0.22" ,
15
15
"moment" : " ^2.30.1" ,
16
- "highlight.js" : " ^11.9.0"
16
+ "highlight.js" : " ^11.9.0" ,
17
+ "@unhead/vue" : " ^2.0.0-rc.13"
17
18
},
18
19
"devDependencies" : {
19
20
"@jscomponent/rollup" : " ^1.0.4" ,
Original file line number Diff line number Diff line change 357
357
open (url ) {
358
358
location .href = url;
359
359
}
360
+ },
361
+ head () {
362
+ return {
363
+ title: ' About' ,
364
+ titleTemplate: ' %s | Health Tips' ,
365
+ meta: [{
366
+ property: ' og:title' ,
367
+ content: ' My Awesome About'
368
+ }, {
369
+ property: ' og:description' ,
370
+ content: ' This is an amazing website!'
371
+ }, {
372
+ property: ' og:image' ,
373
+ content: ' https://example.com/image.jpg'
374
+ }, {
375
+ property: ' og:url' ,
376
+ content: ' https://example.com/page'
377
+ }, {
378
+ property: ' og:type' ,
379
+ content: ' website'
380
+ }, {
381
+ name: ' twitter:card' ,
382
+ content: ' summary_large_image'
383
+ }, {
384
+ name: ' twitter:title' ,
385
+ content: ' My Awesome Page'
386
+ }, {
387
+ name: ' twitter:description' ,
388
+ content: ' This is an amazing website!'
389
+ }, {
390
+ name: ' twitter:image' ,
391
+ content: ' https://example.com/image.jpg'
392
+ }]
393
+ };
360
394
}
361
395
};
362
396
Original file line number Diff line number Diff line change 75
75
open (url ) {
76
76
location .href = url;
77
77
}
78
+ },
79
+ head () {
80
+ return {
81
+ title: ' Pricing' ,
82
+ titleTemplate: ' %s | Health Tips' ,
83
+ meta: [
84
+ { property: ' og:title' , content: ' My Awesome Pricing' },
85
+ { property: ' og:description' , content: ' This is an amazing website!' },
86
+ { property: ' og:image' , content: ' https://example.com/image.jpg' },
87
+ { property: ' og:url' , content: ' https://example.com/page' },
88
+ { property: ' og:type' , content: ' website' },
89
+ { name: ' twitter:card' , content: ' summary_large_image' },
90
+ { name: ' twitter:title' , content: ' My Awesome Page' },
91
+ { name: ' twitter:description' , content: ' This is an amazing website!' },
92
+ { name: ' twitter:image' , content: ' https://example.com/image.jpg' }
93
+ ]
94
+ }
78
95
}
79
96
};
80
97
You can’t perform that action at this time.
0 commit comments