Fixed open graph tags
parent
7c9299f638
commit
9390d5476e
|
@ -1,7 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
{{#if config.injectJs}}{{{config.injectJs}}}{{/if}}
|
{{~#if config.injectJs}}{{{config.injectJs}}}{{/if}}
|
||||||
<title>{{title}}</title>
|
<title>{{title}}</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
@ -77,20 +77,20 @@
|
||||||
<meta property="og:image" content="{{config.baseUrl}}{{result.productImage}}" />
|
<meta property="og:image" content="{{config.baseUrl}}{{result.productImage}}" />
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if productDescription}}
|
{{#if productDescription}}
|
||||||
<meta name="og:description" content="{{snip productDescription}}">
|
<meta property="og:description" content="{{snip productDescription}}">
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#if metaDescription}}
|
{{#if metaDescription}}
|
||||||
<meta name="og:description" content="{{snip metaDescription}}">
|
<meta property="og:description" content="{{snip metaDescription}}">
|
||||||
{{else}}
|
{{else}}
|
||||||
<meta name="og:description" content="{{snip config.cartDescription}}">
|
<meta property="og:description" content="{{snip config.cartDescription}}">
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<meta name="twitter:card" content="summary" />
|
<meta property="twitter:card" content="summary" />
|
||||||
<meta name="twitter:title" content="{{title}}" />
|
<meta property="twitter:title" content="{{title}}" />
|
||||||
{{#if pageUrl}}
|
{{#if pageUrl}}
|
||||||
<meta name="twitter:url" content="{{pageUrl}}" />
|
<meta property="twitter:url" content="{{pageUrl}}" />
|
||||||
{{else}}
|
{{else}}
|
||||||
<meta name="twitter:url" content="{{config.baseUrl}}" />
|
<meta property="twitter:url" content="{{config.baseUrl}}" />
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
{
|
{
|
||||||
|
@ -101,8 +101,8 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<!-- SEO data -->
|
<!-- SEO data -->
|
||||||
{{#if config.googleAnalytics}}{{{config.googleAnalytics}}}{{/if}}
|
{{~#if config.googleAnalytics}}{{{config.googleAnalytics}}}{{/if}}
|
||||||
{{#if config.customCss}}<style>{{{config.customCss}}}</style>{{/if}}
|
{{~#if config.customCss}}<style>{{{config.customCss}}}</style>{{/if}}
|
||||||
{{#if admin}}
|
{{#if admin}}
|
||||||
<link rel="stylesheet" href="/stylesheets/admin{{config.env}}.css">
|
<link rel="stylesheet" href="/stylesheets/admin{{config.env}}.css">
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|
Loading…
Reference in New Issue