{%capture pDescription%}
{%endcapture%}
{%capture pDescription%}
{%endcapture%}
{{- page_title -}}
{%- if current_tags -%}
{%- include 'advanced-tag-loop' -%}
{% assign title_tags = '' %}
{% assign meta_tags = current_tags | join: ', ' %}
{%- for tag in current_tags -%}
{% assign is_advanced_tag = false %}
{% assign cat = tag | split: '_' | first %}
{%- unless cat == tag -%}
{%- if cat_array contains cat -%}
{% assign is_advanced_tag = true %}
{% assign title_tags = title_tags | append: ', ' | append: tag | replace_first: '_', ': ' %}
{%- endif -%}
{%- endunless -%}
{%- unless is_advanced_tag -%}
{% assign title_tags = title_tags | append: ', ' | append: tag %}
{%- endunless -%}
{%- endfor -%}
{{ 'general.title.tags' | t: tags: title_tags | remove_first: ', ' }}
{%- endif -%}
{%- if current_page != 1 -%}
{{- 'general.title.page' | t: page: current_page -}}
{%- endif -%}
{%- unless page_title contains shop.name -%}
{{- 'general.title.shop' | t: shop: shop.name -}}
{%- endunless -%}
{% if page_description != blank %}
{% endif %}
{% include 'favicon' %}
{% if template contains 'collection' and current_tags %}
{% else %}
{% endif %}
{% assign twitter_handle = settings.social_twitter | split: 'twitter.com/' | last %}
{%
include 'social-meta-tags',
twitter_handle: twitter_handle
%}
{%comment%}{{ content_for_header }}{%endcomment%}{%include "decko"%}
{{ 'theme.css' | asset_url | stylesheet_tag }}
{%capture pDescription%}
{%endcapture%}
{%capture pDescription%}
{%endcapture%}
{% render 'omg-facebook-chat' %}
{{ 'general.accessibility.skip_to_content' | t }}
{% section 'static-announcement' %}
{%capture pDescription%}
{% if template == 'index' %}
{% section 'hero-vid' %}
{% section 'static-highlights-banners' %}
{% section 'static-slideshow' %}
{% endif %}
{{ content_for_layout }}
{% section 'static-footer' %}
{% comment %}
Below are various templates used in JavaScript
{% endcomment %}
{% include 'message-banner' %}
{% include 'atc-banner' %}
{% comment %}
Modal container, used on Collections, Password, and QuickShop
{% endcomment %}
{% include 'modal' %}
{% comment %}
This is the PhotoSwipe dialog which needs to be in the base page
{% endcomment %}
{% include 'product-gallery-zoom' %}
{%- if template contains 'customer' -%}
{{ 'shopify_common.js' | shopify_asset_url | script_tag }}
{{ 'customer_area.js' | shopify_asset_url | script_tag }}
{%- endif -%}
{% if settings.enable_currency_converter %}
{% endif %}
{% include 'structured-data' %}
{% include 'mw_fees_objects' %}
{% render 'hextom_ctb_main', product: product, customer: customer %}
{%endcapture%}
{{ 'gem.js' | asset_url | script_tag }}