From eba4c1a50a2f8801303cda8f814ceddb188efe12 Mon Sep 17 00:00:00 2001 From: Mark Moffat Date: Wed, 21 Oct 2020 14:45:33 +1030 Subject: [PATCH] Add placeholder to structured data --- views/layouts/layout.hbs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/views/layouts/layout.hbs b/views/layouts/layout.hbs index f43c226e..c862797b 100644 --- a/views/layouts/layout.hbs +++ b/views/layouts/layout.hbs @@ -130,6 +130,8 @@ {{/if}} {{#if result.productImage}} "image": "{{config.baseUrl}}{{result.productImage}}", + {{else}} + "image": "{{config.baseUrl}}uploads/placeholder.png", {{/if}} "aggregateRating": { "@type": "AggregateRating",