{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% block layout_head_meta_tags_general %}
{% if pixelLexikon.page == "index" %}
{% if ("pixelLexikon.page.index.metaDescription"|trans != '') %}
{% set metaDescription = "pixelLexikon.page.index.metaDescription"|trans %}
{% endif %}
{% if ("pixelLexikon.page.index.metaTitle"|trans != '') %}
{% set metaTitle = "pixelLexikon.page.index.metaTitle"|trans %}
{% endif %}
{% if ("pixelLexikon.page.index.metaKeywords"|trans != '') %}
{% set metaKeywords = "pixelLexikon.page.index.metaKeywords"|trans %}
{% endif %}
{% else %}
{% set metaDescription = metaData.translated.metaDescription|raw %}
{% set metaTitle = metaData.translated.metaTitle|striptags|trim %}
{% set metaKeywords = metaData.translated.metaKeywords|striptags|trim %}
{% endif %}
<meta name="author"
content="{{ metaInformation.author|striptags }}"/>
<meta name="robots"
content="{% block layout_head_meta_tags_robots %}{{ metaInformation.robots }}{% endblock %}"/>
<meta name="revisit-after"
content="{{ metaInformation.revisit|striptags }}"/>
<meta name="keywords"
content="{% block layout_head_meta_tags_keywords %}{{ metaKeywords }}{% endblock %}"/>
<meta name="description"
content="{% block layout_head_meta_tags_description %}{{ metaDescription }}{% endblock %}"/>
{% endblock %}
{% block layout_head_meta_tags_opengraph %}
{% if pixelLexikon.page == "index" %}
{% if ("pixelLexikon.page.index.metaDescription"|trans != '') %}
{% set metaDescription = "pixelLexikon.page.index.metaDescription"|trans %}
{% endif %}
{% if ("pixelLexikon.page.index.metaTitle"|trans != '') %}
{% set metaTitle = "pixelLexikon.page.index.metaTitle"|trans %}
{% endif %}
{% if ("pixelLexikon.page.index.metaKeywords"|trans != '') %}
{% set metaKeywords = "pixelLexikon.page.index.metaKeywords"|trans %}
{% endif %}
{% else %}
{% set metaDescription = metaData.translated.metaDescription|raw %}
{% set metaTitle = metaData.translated.metaTitle|striptags|trim %}
{% set metaKeywords = metaData.translated.metaKeywords|striptags|trim %}
{% endif %}
<meta property="og:type"
content="website"/>
<meta property="og:site_name"
content="{{ shopware.config.core.basicInformation.shopName }}"/>
<meta property="og:url"
content="{{ metaUrl }}"/>
<meta property="og:title"
content="{{ metaTitle }}"/>
<meta property="og:description"
content="{{ metaDescription }}"/>
<meta property="og:image"
content="{{ shopware.theme['sw-logo-desktop'] }}"/>
<meta property="twitter:card"
content="website"/>
<meta property="twitter:site"
content="{{ shopware.config.core.basicInformation.shopName }}"/>
<meta property="twitter:title"
content="{{ metaTitle }}"/>
<meta property="twitter:description"
content="{{ metaDescription }}"/>
<meta name="twitter:image"
content="{{ shopware.theme['sw-logo-desktop'] }}"/>
{% endblock %}
{% block layout_head_canonical %}
<link rel="canonical" href="{{ metaUrl }}"/>
{% endblock %}
{% block layout_head_title %}
{% if pixelLexikon.page == "index" %}
{% if ("pixelLexikon.page.index.metaTitle"|trans != '') %}
{% set metaTitle = "pixelLexikon.page.index.metaTitle"|trans %}
{% endif %}
{% else %}
{% set metaTitle = metaData.translated.metaTitle|striptags|trim %}
{% endif %}
<title itemprop="name">
{% block layout_head_title_inner %}{% apply spaceless %}
{{ metaTitle }}
{% endapply %}{% endblock %}
</title>
{% endblock %}