Skip to content

Commit

Permalink
Merge pull request #147 from Sebobo/bugfix/og-preset
Browse files Browse the repository at this point in the history
BUGFIX: Choose correct og image preset
  • Loading branch information
Sebobo authored Aug 20, 2020
2 parents 1547c45 + e36cabe commit 129ad4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Private/Fusion/Metadata/OpenGraphMetaTags.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ prototype(Neos.Seo:OpenGraphMetaTags) < prototype(Neos.Fusion:Component) {
}
imageAltText = ${this.image.caption || this.image.label}

preset = ${'Neos.Seo:OpenGraph.' + (this.image.isOrientationLandscape ? 'Landscape' : 'Square')}
preset = ${'Neos.Seo:OpenGraph.' + (this.image.orientation == 'landscape' ? 'Landscape' : 'Square')}
[email protected] = ${this.image}
thumbnail = ${Neos.Seo.Image.createThumbnail(this.image, this.preset)}
[email protected] = ${this.image}
Expand Down

0 comments on commit 129ad4f

Please sign in to comment.