{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% block layout_head_meta_tags_robots %}{% if page.extensions.ottMerchantShopsData %}noindex,follow{% else %}{{ parent() }}{% endif %}{% endblock %}
{% block layout_head_meta_tags %}
{{ parent() }}
<link rel="preload"
as="font"
href="/bundles/ottmoebelfirsttheme/assets/fonts/Lora/Lora-Regular.ttf"
type="font/ttf"
crossorigin="anonymous">
<link rel="preload"
as="font"
href="/bundles/ottmoebelfirsttheme/assets/fonts/Poppins/Poppins-Regular.ttf"
type="font/ttf"
crossorigin="anonymous">
<link rel="preload"
as="font"
href="/bundles/ottmoebelfirsttheme/assets/fonts/Poppins/Poppins-Light.ttf"
type="font/ttf"
crossorigin="anonymous">
<link rel="preload"
as="font"
href="/bundles/ottmoebelfirsttheme/assets/fonts/Poppins/Poppins-Medium.ttf"
type="font/ttf"
crossorigin="anonymous">
<link rel="preload"
as="font"
href="/bundles/ottmoebelfirsttheme/assets/fonts/Poppins/Poppins-SemiBold.ttf"
type="font/ttf"
crossorigin="anonymous">
<link rel="preload"
as="font"
href="/bundles/ottmoebelfirsttheme/assets/fonts/Lora/Lora-Medium.ttf"
type="font/ttf"
crossorigin="anonymous">
<link rel="preload"
as="font"
href="/bundles/ottmoebelfirsttheme/assets/fonts/Lora/Lora-SemiBold.ttf"
type="font/ttf"
crossorigin="anonymous">
<link rel="preload"
as="font"
href="/bundles/ottmoebelfirsttheme/assets/fonts/Lora/Lora-Bold.ttf"
type="font/ttf"
crossorigin="anonymous">
{% endblock %}
{% block layout_head_canonical %}
{% if 'detail' === cbaxModulManufacturers.page %}
{% set parameters = '' %}
{% if app.request.query.get('p') and '1' !== app.request.query.get('p') %}
{% set parameters = '?p=' ~ app.request.query.get('p') %}
{% endif %}
<link rel="canonical"
href="{{ seoUrl('frontend.cbax.manufacturer.detail', { cbaxManufacturerId: cbaxModulManufacturers.manufacturer.id }) ~ parameters }}"
/>
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}
{% block layout_head_title_inner %}{% apply spaceless %}
{% set brandCategory = '24a08e1dd39a4574a51b3f5144ffb17c' %}
{% if page.landingpage %}
{% set categoryName = page.landingpage.category.translated.name|capitalize %}
{% set brandIndex = 1 %}
{% if '/' === page.landingpage.translated.title|first %}
{% set brandIndex = 2 %}
{% endif %}
{% set pathParts = page.landingpage.translated.title|split('/') %}
{% set brandName = pathParts[brandIndex]|replace({ '-': ' ' })|title %}
{{ 'ott.manufacturerSubCategory.metaTitle'|trans({
'%category%': categoryName,
'%brand%': brandName,
}) }}
{% elseif cbaxModulManufacturers %}
{% if cbaxModulManufacturers.page == "index" %}
{{ "cbaxManufacturer.page.index.allManufacturers"|trans }} | {{ metaTitle }}
{% else %}
{{ 'ott.manufacturerDetail.metaTitle'|trans({
'%brand%': cbaxModulManufacturers.manufacturer.translated.name,
}) }}
{% endif %}
{% elseif brandCategory in page.header.navigation.active.path %}
{% set breadcrumbCategories = sw_breadcrumb_full(page.header.navigation.active, context.context) %}
{% set brandName = '' %}
{% if 3 === breadcrumbCategories|length and brandCategory === breadcrumbCategories|first.id|lower%}
{% for breadcrumbCategory in breadcrumbCategories %}
{% if 1 === loop.index0 %}
{% set brandName = breadcrumbCategory.translated.name %}
{% endif %}
{% endfor %}
{% endif %}
{{ 'ott.manufacturerSubCategory.metaTitle'|trans({
'%category%': page.header.navigation.active.translated.name,
'%brand%': brandName,
}) }}
{% else %}
{{ parent() }}
{% endif %}
{% endapply %}{% endblock %}
{% block layout_head_meta_tags_description %}{% apply spaceless %}
{% set brandCategory = '24a08e1dd39a4574a51b3f5144ffb17c' %}
{% if page.landingpage %}
{% set categoryName = page.landingpage.category.translated.name|capitalize %}
{% set brandIndex = 1 %}
{% if '/' === page.landingpage.translated.title|first %}
{% set brandIndex = 2 %}
{% endif %}
{% set pathParts = page.landingpage.translated.title|split('/') %}
{% set brandName = pathParts[brandIndex]|replace({ '-': ' ' })|title %}
{{ 'ott.manufacturerSubCategory.metaDescription'|trans({
'%category%': categoryName,
'%brand%': brandName,
}) }}
{% elseif cbaxModulManufacturers %}
{% if cbaxModulManufacturers.page == "index" %}
{{ "cbaxManufacturer.page.index.metaDescription"|trans }}
{% else %}
{{ 'ott.manufacturerDetail.metaDescription'|trans({
'%brand%': cbaxModulManufacturers.manufacturer.translated.name,
}) }}
{% endif %}
{% elseif brandCategory in page.header.navigation.active.path %}
{% set breadcrumbCategories = sw_breadcrumb_full(page.header.navigation.active, context.context) %}
{% set brandName = '' %}
{% if 3 === breadcrumbCategories|length and brandCategory === breadcrumbCategories|first.id|lower%}
{% for breadcrumbCategory in breadcrumbCategories %}
{% if 1 === loop.index0 %}
{% set brandName = breadcrumbCategory.translated.name %}
{% endif %}
{% endfor %}
{% endif %}
{{ 'ott.manufacturerSubCategory.metaDescription'|trans({
'%category%': page.header.navigation.active.translated.name,
'%brand%': brandName,
}) }}
{% else %}
{{ parent() }}
{% endif %}
{% endapply %}{% endblock %}
{% block layout_head_meta_tags_description_og %}{% apply spaceless %}
{% if cbaxModulManufacturers %}
{% if cbaxModulManufacturers.page == "index" %}
{{ "cbaxManufacturer.page.index.metaDescription"|trans }}
{% else %}
{{ 'ott.manufacturerDetail.metaDescription'|trans({
'%brand%': cbaxModulManufacturers.manufacturer.translated.name,
}) }}
{% endif %}
{% else %}
{{ parent() }}
{% endif %}
{% endapply %}{% endblock %}
{% block layout_head_meta_tags_description_twitter %}{% apply spaceless %}
{% if cbaxModulManufacturers %}
{% if cbaxModulManufacturers.page == "index" %}
{{ "cbaxManufacturer.page.index.metaDescription"|trans }}
{% else %}
{{ 'ott.manufacturerDetail.metaDescription'|trans({
'%brand%': cbaxModulManufacturers.manufacturer.translated.name,
}) }}
{% endif %}
{% else %}
{{ parent() }}
{% endif %}
{% endapply %}{% endblock %}