theme.liquid back up 4 12
{% capture content %}
{% include 'SEO-All-in-one' %}
{% if current_tags %}{% assign meta_tags = current_tags | join: ', ' %}{% endif %}
{% if template contains "index" %}{{ page_title }}{% else %}{{ page_title }}{% if current_tags %} {{ 'general.meta.tagged_html' | t: tags: meta_tags }}{% endif %}{% if current_page != 1 %} {{ 'general.meta.page' | t: page_number: current_page }}{% endif %}{% unless page_title contains shop.name %} - {{ shop.name }}{% endunless %}{% endif %}
{% if settings.enable_shopify_review_comments %}
{% endif %}
{{ 'styles.scss.css' | asset_url | stylesheet_tag }}
{{ 'popup-section.scss.css' | asset_url | stylesheet_tag }}
{{ 'slick.css' | asset_url | stylesheet_tag }}
{{ 'custom.css' | asset_url | stylesheet_tag }}
{{ 'magnific-popup.css' | asset_url | stylesheet_tag }}
{% if page_description %}
{% endif %}
{% if settings.favicon != nil %}
{% else %}
{% endif %}
{{ 'api.jquery.js' | shopify_asset_url | script_tag }}
{% if template contains 'customer' %}
{{ "shopify_common.js" | shopify_asset_url | script_tag }}
{{ "customer_area.js" | shopify_asset_url | script_tag }}
{% endif %}
{{ content_for_header }}
{%- include 'bold-product' with product, hide_action: 'header' -%}
{% include 'bold-common' %}
{% if product.metafields.inventory.ShappifyHidden == "true" %} {% endif %}
{% include 'social-meta-info' %}
{% if collection.previous_product %}{% endif %}
{% if collection.next_product %}{% endif %}
{{ 'paymentfont.scss.css' | asset_url | stylesheet_tag }}
{% comment %}
{% endcomment %}
{%- assign yotpo_offload_content = shop.metafields.yotpo.yotpo_offload_content %}
{%- assign time_now = 'now' | date: '%s' %}
{%- assign yotpo_live_time = shop.metafields.yotpo.yotpo_live | date: '%s' %}
{%- assign diffSeconds = time_now | minus: yotpo_live_time %}
{%- if yotpo_offload_content == 'yes' and diffSeconds < 86400 -%}
{{ 'yotpo-full-css.css' | asset_url | stylesheet_tag }}
{%- endif -%}
{% include 'bc-sf-filter-style' %}
{% if template contains "index" %}
{% assign feature_image = true %}
{% elsif template contains "collection" %}
{% assign feature_image = true %}
{% elsif template contains "blog" %}
{% assign feature_image = true %}
{% elsif template contains "article" %}
{% assign feature_image = true %}
{% elsif template contains "contact" %}
{% assign feature_image = true %}
{% elsif template contains "product" %}
{% assign feature_image = true %}
{% elsif template contains "gallery" %}
{% assign feature_image = true %}
{% elsif template contains "banner" %}
{% assign feature_image = true %}
{% elsif template contains "details" %}
{% assign feature_image = true %}
{% elsif template contains "faq" %}
{% assign feature_image = true %}
{% elsif template contains "search" %}
{% assign feature_image = true %}
{% elsif template contains "cart" %}
{% assign feature_image = true %}
{% elsif template contains "page.child" %}
{% assign feature_image = true %}
{% else %}
{% assign feature_image = false %}
{% endif %}
{% section 'popup-modal' %}
{% section 'popup-header' %}
{% section 'header' %}
{% unless feature_image %}
{% endunless %}
{{ content_for_layout }}
{% unless template contains 'index' or settings.secondary_newsletter_banner == false %}
{% section 'newsletter' %}
{% endunless %}
{% section 'footer' %}
{% if settings.size_chart != blank %}
{% include 'popup-size-chart' %}
{% endif %}
{% if settings.newsletter_popup %}
{% include 'popup-newsletter' %}
{% endif %}
{% if settings.quick_shop_enabled %}
{% include 'popup-quick-shop' %}
{% endif %}
{% if settings.disqus_enabled %}
{% if template contains "blog" or template contains "article" or template contains "index" %}
{% endif %}
{% endif %}
{% if settings.show_multiple_currencies %}
{% include 'currencies' %}
{% endif %}
{% if settings.show_shipping_calculator and template contains "cart" %}
{% include 'cart-shipping-scripts' %}
{% endif %}
{% include "sloyalty-statusbar" %}
{% unless settings.performance == "sport" or template contains "customer" %}
{% endunless %}
{% comment %}
{% include 'klaviyo-script' %}
{% endcomment %}
{% if template contains 'product' %}
{% endif %}
{% include 'hextom_usb_main' %}
{% include 'criteo-tracking' %}
{% include 'bc-sf-filter' %}
{% render 'spurit_po2_theme_snippet' %}
{% endcapture %}
{% assign content = content | replace_first: ', '!DOCTYPE' | split: '