File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -345,7 +345,8 @@ aws.initConfig(awsProps)
345
345
const sources = utils . glGetEditorSources ( config . content ) ;
346
346
if ( sources . length === 1 ) {
347
347
const lang = languages [ sources [ 0 ] . language ] ;
348
- metadata . ogDescription = sources [ 0 ] . source ;
348
+ metadata . ogDescription = '```' + lang . id + '\n' + sources [ 0 ] . source + '\n```' ;
349
+ //metadata.ogDescription = sources[0].source;
349
350
if ( lang ) {
350
351
metadata . ogTitle += ` - ${ lang . name } ` ;
351
352
}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ meta(name="twitter:card" content="summary")
17
17
meta( name ="twitter:site" content ="@mattgodbolt" )
18
18
meta( property ="og:image" content =require (" ce-icon.png" ))
19
19
meta( property ="og:image:secure_url" content =require (" ce-icon.png" ))
20
- meta( property ="og:image:type" content ="image/jpg " )
20
+ meta( property ="og:image:type" content ="image/png " )
21
21
meta( property ="og:image:width" content ="145" )
22
22
meta( property ="og:image:height" content ="145" )
23
23
meta( name ="author" content ="Matt Godbolt" )
You can’t perform that action at this time.
0 commit comments