diff --git a/app/views/home/_harvests.html.haml b/app/views/home/_harvests.html.haml index 0621e99a58..27299a245a 100644 --- a/app/views/home/_harvests.html.haml +++ b/app/views/home/_harvests.html.haml @@ -9,4 +9,5 @@ %small.text-muted harvested by #{harvest.owner_login_name} %p.mb-2 - = image_tag harvest.thumbnail_url, width: 75, class: 'rounded shadow', alt: "Image of #{harvest.crop_name} by #{harvest.owner}" + - if harvest.thumbnail_url + = image_tag harvest.thumbnail_url, width: 75, class: 'rounded shadow', alt: "Image of #{harvest.crop_name} by #{harvest.owner}"