Skip to content

Commit

Permalink
Include hero image in OG resolution order
Browse files Browse the repository at this point in the history
  • Loading branch information
haydngreatnews committed Sep 3, 2024
1 parent e9a4ca8 commit f442b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdhweb/pages/mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ class Meta:

@cached_property
def og_image_url(self):
image = get_first_of(self, "feed_image", "image")
image = get_first_of(self, "feed_image", "image", "hero_image")
if not image:
return get_default_preview_img_url()

Expand Down

0 comments on commit f442b57

Please sign in to comment.