Skip to content

Commit

Permalink
Add placeholder to structured data
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvautin committed Oct 21, 2020
1 parent a31ac13 commit eba4c1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions views/layouts/layout.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@
{{/if}}
{{#if result.productImage}}
"image": "{{config.baseUrl}}{{result.productImage}}",
{{else}}
"image": "{{config.baseUrl}}uploads/placeholder.png",
{{/if}}
"aggregateRating": {
"@type": "AggregateRating",
Expand Down

0 comments on commit eba4c1a

Please sign in to comment.