@@ -95,7 +95,13 @@ export default {
95
95
] ,
96
96
[ "meta" , { httpEquiv : "Content-Language" , content : "en" } ] ,
97
97
[ "meta" , { name : "twitter:card" , content : "summary_large_image" } ] ,
98
- [ "meta" , { name : "twitter:image" , content : "/Celestia-og.png" } ] ,
98
+ [
99
+ "meta" ,
100
+ {
101
+ name : "twitter:image" ,
102
+ content : "https://docs.celestia.org/Celestia-og.png" ,
103
+ } ,
104
+ ] ,
99
105
[
100
106
"meta" ,
101
107
{
@@ -110,7 +116,15 @@ export default {
110
116
content : "https://docs.celestia.org" ,
111
117
} ,
112
118
] ,
113
- [ "meta" , { name : "og:image" , content : "/Celestia-og.png" } ] ,
119
+ [
120
+ "meta" ,
121
+ {
122
+ property : "og:image" ,
123
+ content : "https://docs.celestia.org/Celestia-og.png" ,
124
+ } ,
125
+ ] ,
126
+ [ "meta" , { property : "og:type" , content : "website" } ] ,
127
+ [ "meta" , { property : "og:site_name" , content : "Celestia Docs" } ] ,
114
128
[ "meta" , { name : "apple-mobile-web-app-title" , content : "Celestia" } ] ,
115
129
[
116
130
"script" ,
@@ -232,20 +246,26 @@ export default {
232
246
} ,
233
247
transformPageData ( pageData ) {
234
248
pageData . frontmatter . head ??= [ ] ;
235
- pageData . frontmatter . head . push ( [
236
- "meta" ,
237
- {
238
- name : "og:title" ,
239
- content :
240
- pageData . frontmatter . layout === "home"
241
- ? `Celestia Docs`
242
- : `${ pageData . title } | Celestia Docs` ,
243
- } ,
244
- {
245
- name : "og:description" ,
246
- content : pageData . frontmatter . layout === `${ pageData . description } ` ,
247
- } ,
248
- ] ) ;
249
+ pageData . frontmatter . head . push (
250
+ [
251
+ "meta" ,
252
+ {
253
+ property : "og:title" ,
254
+ content :
255
+ pageData . frontmatter . layout === "home"
256
+ ? "Celestia Docs"
257
+ : `${ pageData . title } | Celestia Docs` ,
258
+ } ,
259
+ ] ,
260
+ [
261
+ "meta" ,
262
+ {
263
+ property : "og:description" ,
264
+ content :
265
+ pageData . description || "The first modular blockchain network." ,
266
+ } ,
267
+ ] ,
268
+ ) ;
249
269
} ,
250
270
} ;
251
271
0 commit comments