{% sw_extends '@parent/storefront/layout/meta.html.twig' %}
{% block layout_head_meta_tags_general %}
<meta name="author"
content="{% block layout_head_meta_tags_general_author %}{{ metaInformation.author|striptags }}{% endblock %}"/>
<meta name="robots"
content="{% block layout_head_meta_tags_robots %}
{%- if controllerName == 'Product' %}
{%- if page.product.translated.customFields.custom_configurations_no_index %}noindex,{% else %}index,{% endif -%}
{%- if page.product.translated.customFields.custom_configurations_no_follow %}nofollow{% else %}follow{% endif -%}
{% elseif controllerName == 'Navigation' %}
{%- if page.footer.navigation.active.customFields.custom_configurations_no_index %}noindex,{% else %}index,{% endif -%}
{%- if page.footer.navigation.active.customFields.custom_configurations_no_follow %}nofollow{% else %}follow{% endif -%}
{% elseif controllerName === 'LandingPage' %}
{%- if page.landingPage.translated.customFields.custom_configurations_no_index %}noindex,{% else %}index,{% endif -%}
{%- if page.landingPage.translated.customFields.custom_configurations_no_follow %}nofollow{% else %}follow{% endif -%}
{% else %}
{{- metaInformation.robots -}}
{% endif -%}
{% endblock %}"/>
<meta name="revisit-after"
content="{% block layout_head_meta_tags_general_revisit %}{{ metaInformation.revisit|striptags }}{% endblock %}"/>
<meta name="description"
content="{% block layout_head_meta_tags_description %}{{ metaDescription }}{% endblock %}"/>
{% endblock %}
{% block layout_head_meta_tags_opengraph %}
<meta property="og:url"
content="{% block layout_head_meta_tags_url_og %}{{ (page.metaInformation.canonical is defined) ? page.metaInformation.canonical : app.request.uri }}{% endblock %}"/>
<meta property="og:type"
content="{% block layout_head_meta_tags_type_og %}website{% endblock %}"/>
<meta property="og:site_name"
content="{% block layout_head_meta_tags_sitename_og %}{{ "LnbThemeDefault.meta.siteName"|trans }}{% endblock %}"/>
<meta property="og:title"
content="{% block layout_head_meta_tags_title_og %}{{ metaTitle }}{% endblock %}"/>
<meta property="og:description"
content="{% block layout_head_meta_tags_description_og %}{{ metaDescription }}{% endblock %}"/>
<meta property="og:image"
content="{% block layout_head_meta_tags_image_og %}{{ theme_config('sw-logo-desktop') }}{% endblock %}"/>
<meta name="twitter:card"
content="{% block layout_head_meta_tags_card_twitter %}summary{% endblock %}"/>
<meta name="twitter:site"
content="{% block layout_head_meta_tags_sitename_twitter %}{{ "LnbThemeDefault.meta.siteName"|trans }}{% endblock %}"/>
<meta name="twitter:title"
content="{% block layout_head_meta_tags_title_twitter %}{{ metaTitle }}{% endblock %}"/>
<meta name="twitter:description"
content="{% block layout_head_meta_tags_description_twitter %}{{ metaDescription }}{% endblock %}"/>
<meta name="twitter:image"
content="{% block layout_head_meta_tags_image_twitter %}{{ theme_config('sw-logo-desktop') }}{% endblock %}"/>
{% endblock %}
{% block layout_head_javascript_feature %}
{{ parent() }}
{% if theme_config('usercentrics-enabled') %}
{% set languageCode = "de" %}
{% if page.header.activeLanguage.translationCode.code === "de-DE" %}
{% set languageCode = "de" %}
{% elseif page.header.activeLanguage.translationCode.code === "en-GB" %}
{% set languageCode = "en" %}
{% elseif page.header.activeLanguage.translationCode.code === "fr-FR" %}
{% set languageCode = "fr" %}
{% elseif page.header.activeLanguage.translationCode.code === "it-IT" %}
{% endif %}
{# Usercentrics v2 #}
{# <link rel="preconnect" href="//app.usercentrics.eu"> #}
{# <link rel="preconnect" href="//api.usercentrics.eu"> #}
{# <link rel="preconnect" href="//privacy-proxy.usercentrics.eu"> #}
{# <link rel="preload" href="//app.usercentrics.eu/browser-ui/latest/loader.js" as="script"> #}
{# <link rel="preload" href="https://privacy-proxy.usercentrics.eu/latest/uc-block.bundle.js" as="script"> #}
{# <script id="usercentrics-cmp" data-language="{{ languageCode }}" data-settings-id="ii5tq7FRd" #}
{# src="https://app.usercentrics.eu/browser-ui/latest/loader.js" async></script> #}
{# <script type="application/javascript" #}
{# src="https://privacy-proxy.usercentrics.eu/latest/uc-block.bundle.js"></script> #}
{# Usercentrics v3 #}
<link rel="preconnect" href="//privacy-proxy.usercentrics.eu">
<link rel="preload" href="//privacy-proxy.usercentrics.eu/latest/uc-block.bundle.js" as="script">
<script id="usercentrics-cmp" data-settings-id="ii5tq7FRd" src="https://web.cmp.usercentrics.eu/ui/loader.js" data-language="{{ languageCode }}" async></script>
<script type="application/javascript" src="https://privacy-proxy.usercentrics.eu/latest/uc-block.bundle.js"></script>
<script type="application/javascript">
window.UC_UI_DOMAINS = {crossDomainConsentSharingIFrame: 'https://usercentrics.liebscher-bracht.com/cross-domain-bridge.html'};
</script>
<script>
uc.deactivateBlocking([
'S1pcEj_jZX', // Google Maps
'abGHajF1' // Bing Maps
]);
</script>
{% endif %}
{% block lnb_kameleoon_meta_tag %}
{% set kameleoonProjectId = config('LnbThemeDefault.config.kameleoonProjectId') %}
{% if kameleoonProjectId is not null and kameleoonProjectId is not empty %}
<script type="text/javascript">
// Duration in milliseconds to wait while the Kameleoon application file is loaded
var kameleoonLoadingTimeout = 1000;
window.kameleoonQueue = window.kameleoonQueue || [];
window.kameleoonStartLoadTime = new Date().getTime();
if (!document.getElementById("kameleoonLoadingStyleSheet") && !window.kameleoonDisplayPageTimeOut) {
var kameleoonS = document.getElementsByTagName("script")[0];
var kameleoonCc = "* { visibility: hidden !important; background-image: none !important; }";
var kameleoonStn = document.createElement("style");
kameleoonStn.type = "text/css";
kameleoonStn.id = "kameleoonLoadingStyleSheet";
if (kameleoonStn.styleSheet) {
kameleoonStn.styleSheet.cssText = kameleoonCc;
} else {
kameleoonStn.appendChild(document.createTextNode(kameleoonCc));
}
kameleoonS.parentNode.insertBefore(kameleoonStn, kameleoonS);
window.kameleoonDisplayPage = function (fromEngine) {
if (!fromEngine) {
window.kameleoonTimeout = true;
}
if (kameleoonStn.parentNode) {
kameleoonStn.parentNode.removeChild(kameleoonStn);
}
};
window.kameleoonDisplayPageTimeOut = window.setTimeout(window.kameleoonDisplayPage, kameleoonLoadingTimeout);
}
</script>
<script type="text/javascript" src="//{{ kameleoonProjectId }}.kameleoon.eu/kameleoon.js"
async="true"></script>
{% endif %}
{% endblock %}
{% if config('LnbThemeDefault.config.customJavascriptInMeta') %}
{{ config('LnbThemeDefault.config.customJavascriptInMeta')|raw }}
{% endif %}
{% endblock %}