Added og:description to keep facebook happy

master
Mark Moffat 2020-01-23 21:42:09 +10:30
parent 9d20e06bc0
commit 7c9299f638
1 changed files with 9 additions and 0 deletions

View File

@ -76,6 +76,15 @@
{{#if result.productImage}}
<meta property="og:image" content="{{config.baseUrl}}{{result.productImage}}" />
{{/if}}
{{#if productDescription}}
<meta name="og:description" content="{{snip productDescription}}">
{{else}}
{{#if metaDescription}}
<meta name="og:description" content="{{snip metaDescription}}">
{{else}}
<meta name="og:description" content="{{snip config.cartDescription}}">
{{/if}}
{{/if}}
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="{{title}}" />
{{#if pageUrl}}