File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -370,7 +370,6 @@ workflows:
370
370
filters :
371
371
branches :
372
372
only :
373
- - footer-update
374
373
- reskin
375
374
# This is stage env for production QA releases
376
375
- " build-prod-staging " :
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ function ChildRoutesLoader(props) {
47
47
< React . Fragment >
48
48
< MetaTags
49
49
description = { fields . description }
50
- image = { fields . thumbnail }
50
+ image = { fields . socialThumbnail }
51
51
siteName = { fields . socialSiteName }
52
52
socialDescription = { fields . socialDescription }
53
53
socialTitle = { fields . socialTitle }
Original file line number Diff line number Diff line change @@ -24,7 +24,10 @@ function MetaTags({
24
24
feed,
25
25
feedTitle,
26
26
} ) {
27
- const img = `${ domain } ${ image } ` ;
27
+ let img = `${ domain } ${ image } ` ;
28
+ if ( image . indexOf ( 'http://' ) === 0 || image . indexOf ( 'https://' ) === 0 ) {
29
+ img = `${ image } ` ;
30
+ }
28
31
const socTitle = socialTitle || title ;
29
32
const socDesc = socialDescription || description ;
30
33
return (
You can’t perform that action at this time.
0 commit comments