{%- block head_charset -%} {% endblock %} {% block head_compatibility %} {% endblock %} {% block viewport %} {% endblock %} {% block favicon -%} {% set favicon = get_config('favicon', '')|default %} {% if favicon -%} {% endif %} {% endblock %} {% block head_seo %} {%- set metatitle = metatitle|default ? metatitle|default|raw|slice(0,150) : title|default -%} {%- set ogtitle = ogtitle|default ? ogtitle : metatitle -%} {%- if ogimage|default is empty -%} {%- if default_image|default is not empty -%} {%- set ogimage = default_image|default -%} {%- else -%} {%- set ogimage = get_config('default_meta_image', locale)|default -%} {%- endif -%} {%- endif -%} {% block head_title %}{{metatitle}}{% endblock %} {%- if metadescription|default is not empty -%} {%- set ogdescription = ogdescription|default ? ogdescription : metadescription ~%} {%- endif -%} {% if metakeywords|default is not empty ~%} {%- endif ~%} {%- if languagecode is defined ~%} {%- endif ~%} {% block twitter_site %}{% endblock ~%} {%- set canonicalurl = '' -%} {%- set xdefault = '' -%} {%~ if app.request.get('_route') == 'home' or app.request.get('_route') == 'home_locale' %} {% set xdefault = app.request.getSchemeAndHttpHost() %} {% endif ~%} {%- for alternateUrl in alternateUrls -%} {%- if alternateUrls|length > 1 %} {%- endif -%} {%- endfor -%} {%- if defaultUrl is defined and defaultUrl is not null %} {%- endif -%} {%- if canonicalUrl is defined and canonicalUrl is not null %} {%- endif -%} {%- if breadCrumbs is defined %} {% endif %} {% endblock %} {% block stylesheets %} {%~ if get_config('notificationsbar_page', '')|default %} {% set webpackEntries=(webpackEntries|default([]))|merge(['B31_notificationsbar']) -%} {% set webpackEntries=(webpackEntries|default([]))|merge(['slick-carousel'])|array_unique -%} {% endif -%} {%~ if webpackEntries is defined %} {%~ for entry in webpackEntries -%} {{ encore_entry_link_tags(entry) -}} {% endfor ~%} {% endif -%} {{ encore_entry_link_tags('front') }} {% endblock %} {% block scripts_header %} {{ encore_entry_script_tags('jquery') }} {% if get_config('scripts_header',app.request.getLocale())|default %} {{ get_config('scripts_header',app.request.getLocale()) | replace({'