83 lines
2.7 KiB
Smarty
83 lines
2.7 KiB
Smarty
{block name='head_charset'}
|
|
<meta charset="utf-8">
|
|
{/block}
|
|
{block name='head_ie_compatibility'}
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
{/block}
|
|
|
|
{block name='head_seo'}
|
|
<title>{block name='head_seo_title'}{$page.meta.title}{/block}</title>
|
|
<meta name="description" content="{block name='head_seo_description'}{$page.meta.description}{/block}">
|
|
<meta name="keywords" content="{block name='head_seo_keywords'}{$page.meta.keywords}{/block}">
|
|
{if $page.meta.robots !== 'index'}
|
|
<meta name="robots" content="{$page.meta.robots}">
|
|
{/if}
|
|
{if $page.canonical}
|
|
<link rel="canonical" href="{$page.canonical}">
|
|
{/if}
|
|
{block name='head_hreflang'}
|
|
{foreach from=$urls.alternative_langs item=pageUrl key=code}
|
|
<link rel="alternate" href="{$pageUrl}" hreflang="{$code}">
|
|
{/foreach}
|
|
{/block}
|
|
{/block}
|
|
|
|
{block name='head_viewport'}
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
{/block}
|
|
|
|
{block name='head_icons'}
|
|
<link rel="icon" type="image/vnd.microsoft.icon" href="{$shop.favicon}?{$shop.favicon_update_time}">
|
|
<link rel="shortcut icon" type="image/x-icon" href="{$shop.favicon}?{$shop.favicon_update_time}">
|
|
{/block}
|
|
|
|
{block name='stylesheets'}
|
|
{include file="_partials/stylesheets.tpl" stylesheets=$stylesheets}
|
|
{/block}
|
|
|
|
{block name='javascript_head'}
|
|
{include file="_partials/javascript.tpl" javascript=$javascript.head vars=$js_custom_vars}
|
|
{/block}
|
|
|
|
{block name='hook_header'}
|
|
{$HOOK_HEADER nofilter}
|
|
{/block}
|
|
|
|
{block name='hook_extra'}
|
|
|
|
{literal}
|
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-211026622-1"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'UA-211026622-1');
|
|
</script>
|
|
<!-- Facebook Pixel Code -->
|
|
<script>
|
|
!function(f,b,e,v,n,t,s)
|
|
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
|
|
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
|
|
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
|
|
n.queue=[];t=b.createElement(e);t.async=!0;
|
|
t.src=v;s=b.getElementsByTagName(e)[0];
|
|
s.parentNode.insertBefore(t,s)}(window, document,'script',
|
|
'https://connect.facebook.net/en_US/fbevents.js');
|
|
fbq('init', '417303443235764');
|
|
fbq('track', 'PageView');
|
|
</script>
|
|
<noscript><img height="1" width="1" style="display:none"
|
|
src="https://www.facebook.com/tr?id=417303443235764&ev=PageView&noscript=1"
|
|
/></noscript>
|
|
<!-- End Facebook Pixel Code -->
|
|
|
|
{/literal}
|
|
|
|
{* Swiper assets *}
|
|
<link rel="stylesheet" href="{$urls.theme_assets}plugins/swiperjs/swiper-bundle.min.css">
|
|
<script defer src="{$urls.theme_assets}plugins/swiperjs/swiper-bundle.min.js"></script>
|
|
|
|
{/block}
|