Add video thumbnail to social hierarchy (#309)
This commit is contained in:
parent
c87607e4a4
commit
e54f160084
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ class GeneratedImage
|
|||
def social_image
|
||||
return article.social_image if article.social_image.present?
|
||||
return article.main_image if article.main_image.present?
|
||||
return article.video_thumbnail_url if article.video_thumbnail_url.present?
|
||||
generated
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue