Skip to content

Commit

Permalink
[BUGFIX] ogImage condition - don't render media of null (#2517)
Browse files Browse the repository at this point in the history
  • Loading branch information
80Quattro committed Aug 24, 2024
1 parent 2ea5872 commit 60fcf3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Private/Partials/Detail/Opengraph.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</f:else>
</f:if>

<f:if condition="ogImage">
<f:if condition="{ogImage}">
<f:variable name="ogImagePath" value="{f:uri.image(src:'{ogImage.uid}', treatIdAsReference:1, maxWidth:'1200')}" />
<n:metaTag
property="og:image"
Expand Down

0 comments on commit 60fcf3f

Please sign in to comment.