{%- if settings.favicon != blank and settings.use_favicon -%}
{%- endif -%}
{%- capture seo_title -%}
{{ page_title }}
{%- if current_tags -%}
{%- assign meta_tags = current_tags | join: ', ' -%} – {{ 'general.meta.tags' | t: tags: meta_tags -}}
{%- endif -%}
{%- if current_page != 1 -%}
– {{ 'general.meta.page' | t: page: current_page }}
{%- endif -%}
{%- unless page_title contains shop.name -%}
– {{ shop.name }}
{%- endunless -%}
{%- endcapture -%}
{{ seo_title }}
{%- if page_description -%}
{%- endif -%}
{%- if settings.use_countdown_timezone -%}
{%- endif -%}
{%- include 'social-meta-tags' -%}
{%- if settings.font1_is_google_font -%}
{%- endif -%}
{%- if settings.font_name1 != settings.font_name2 and settings.font_name2 != '' and settings.font2_is_google_font -%}
{%- endif -%}
{%- if settings.popup_newsletter_show and settings.use_as_simple_popup and settings.popup_simple_fonts != "" -%}
{{ settings.popup_simple_fonts }}
{%- endif -%}
{{ settings.google_font_links }}
{%- include "include_css" -%}
{%- if template contains 'customers' -%}
{{ 'shopify_common.js' | shopify_asset_url | script_tag | remove: ' type="text/javascript"' }}
{{ 'customer_area.js' | shopify_asset_url | script_tag | remove: ' type="text/javascript"' }}
{%- endif -%}
{{ content_for_header }}
{%- unless settings.show_emptyreview -%}
{%- endunless -%}
{%- if settings.show_helper -%}{%- section "show-helper" -%}{%- endif -%}
{%- if settings.show_preloader -%}{%- include "main-loader" -%}{%- endif -%}
{%- if settings.header_design == "header_type_1" -%}
{%- capture var_header -%}{%- section "header-template" -%}{%- endcapture -%}
{{ var_header }}
{%- else -%}
{%- if settings.header_design == "header_type_2" -%}
{%- capture var_header -%}{% section 'header-template-2' %}{%- endcapture -%}
{%- elsif settings.header_design == "header_type_3" -%}
{%- capture var_header -%}{% section 'header-template-3' %}{%- endcapture -%}
{%- elsif settings.header_design == "header_type_4" -%}
{%- capture var_header -%}{% section 'header-template-4' %}{%- endcapture -%}
{%- elsif settings.header_design == "header_type_5" -%}
{%- capture var_header -%}{% section 'header-template-5' %}{%- endcapture -%}
{%- endif -%}
{%- if var_header contains '
' -%}
{%- capture var_categorie_button -%}{% if settings.header_design == "header_type_4" %}{% section 'categorie-button-icons-menu' %}{% else %}{% section 'categorie-button' %}{% endif %}{%- endcapture -%}
{{ var_categorie_button | split:"[PARTMOBILE]" | first | append: "" }}
{%- assign var_categorie_mobile = var_categorie_button | split:"[PARTMOBILE]" | last | split: "[/PARTMOBILE]" | first -%}
{%- assign var_categorie_button = var_categorie_button | split:"[PART]" | last | split: "[/PART]" | first -%}
{{ var_header | replace: '
', var_categorie_mobile | replace: "[CATEGORIE, PLEASE SAVE PAGE]", var_categorie_button }}
{%- else -%}
{{ var_header }}
{%- endif -%}
{%- endif -%}
{% if settings.show_breadcrumbs %}{%- include "breadcrumb" -%}{% endif %}
{{ content_for_layout }}
{%- assign blockinuse = '' -%}
{%- for i in (1..5) -%}
{%- assign footer_position = 'footer_position_' | append: i -%}{%- assign csection = settings[footer_position] -%}
{%- if csection != 'none' -%}
{%- unless blockinuse contains csection -%}{%- assign blockinuse = blockinuse | append: csection | append: '%%' -%}
{%- case csection -%}
{%- when "footer-section-subscribe" -%}{%- section "footer-section-subscribe" -%}
{%- when "footer-section-blurbs" -%}{%- section "footer-section-blurbs" -%}
{%- when "footer-section-text_plus_image_vertical" -%}{%- section "footer-section-text_plus_image_vertical" -%}
{%- when "footer-section-iconbanners" -%}{%- section "footer-section-iconbanners" -%}
{%- else -%}{%- section "footer-template" -%}
{%- endcase -%}
{%- endunless -%}{%- endif -%}
{%- endfor -%}
{%- if settings.show_footer_instagram_section -%}
{%- section "footer-section-instagram" -%}
{%- endif -%}
{%- if settings.show_back_to_top_button -%}
{{ 'general.general.to_top_button' | t }}{% endif %}
{%- if settings.product_item_show_quickview -%}
{%- if content_for_layout contains 'data-target="#ModalquickView"' or content_for_layout contains "index_sectiontabs" or template contains "product" -%}{%- include "modal-quickview" -%}
{%- elsif template == "index" and settings.home_page_layout == 'home-page_layout-2' -%}{%- include "modal-quickview" -%}
{%- endif -%}{%- endif -%}
{%- if settings.show_addtocart_popup -%}{%- include "modal-addtocart" -%}{%- endif -%}
{%- include "preloader-ajax" -%}
{%- include "include_js" -%}
{%- include "currencies" -%}
{%- include 'modal-newsletter' -%}
{%- include "modal-subscribe_message" -%}
{%- include 'modal-wishlist-alert' -%}
{%- section "promo-fixed" -%}
{%- if settings.all_links_is_external or settings.menu_links_is_external or settings.external_links_is_external -%}
{%- endif -%}
{% comment %}
{%- if settings.show_helper -%}
{%- endif -%}
{% endcomment %}
{{ settings.some_code_field }}