{% trans_default_domain 'admin' %} {% set domain = entitylocale|domain %} {% set scheme = not domain ? "Non configuré"|trans : domain %}
{{ "Aperçu Google"|trans }}
{{ seo.title }} {% if seo.afterDash %} - {{ seo.afterDash }}{% endif %}
{{ seo.canonical }}
{{ seo.description }}
{% set ogImage = seo.ogImage ? seo.ogImage : null %} {% set ogImage = not ogImage and logos.share is defined and logos.share ? logos.share : ogImage %} {% set ogImage = ogImage and app.request.getSchemeAndHttpHost() not in ogImage ? app.request.getSchemeAndHttpHost() ~ ogImage : ogImage %} {% set googleI18ns = website.api.google|googleI18n(website, app.request.locale) %}
{{ "Métas"|trans }}
<!-- Metas --/>
<title>{{ seo.title|striptags }}{% if seo.afterDash %} - {{ seo.afterDash }}{% endif %}</title>
<meta name="description" content="{{ seo.description|striptags }}" />
{% if seo.author %}
<meta name="author" content="{{ seo.author|striptags }}" />
{% endif %}
<meta name="robots" content="{{ seo.index }}" />
{% if googleI18ns.searchConsoleKey is defined and googleI18ns.searchConsoleKey %}

{% endif %}

<!-- Canonical --/>
<link rel="canonical" href="{{ seo.canonical|striptags }}" />
{% if seo.localesAlternate|length > 1 %}

<!--  Alternates links --/>
{% for localeAlternate, alternate in seo.localesAlternate %}
<link rel="alternate" hreflang="{{ localeAlternate }}" href="{{ alternate }}" />
{% endfor %}
{% endif %}

<!-- Open Graph --/>
<meta property="og:locale" content="{{ seo.locale }}" />
<meta property="og:title" content="{{ seo.ogFullTitle|striptags }}" />
<meta property="og:description" content="{{ seo.ogDescription|striptags }}" />
<meta property="og:url" content="{{ seo.canonical }}" />
<meta property="og:type" content="{{ seo.ogType }}" />
{% if ogImage %}
<meta property="og:image" content="{{ ogImage }}" />
{% endif %}