From f442b574a8be22ee4f43305a83931684b6f93511 Mon Sep 17 00:00:00 2001 From: Haydn Greatnews Date: Tue, 3 Sep 2024 12:48:28 +1200 Subject: [PATCH] Include hero image in OG resolution order --- cdhweb/pages/mixin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdhweb/pages/mixin.py b/cdhweb/pages/mixin.py index 4beacc6a..45aea1f7 100644 --- a/cdhweb/pages/mixin.py +++ b/cdhweb/pages/mixin.py @@ -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()