{{ ---- BEGIN EXTRA THEME SETTINGS AND CONTROLS ---- }}
{% assign: Categories_in_Nav_Display = 'Main Nav' %} {{ Options: 'Dropdown' or 'Main Nav' }}
{% assign: Favicon_URL = 'https://themefiend.com/wp-content/uploads/tfcreator/tf-favicon.png' %}
{{ ---- END EXTRA THEME SETTINGS AND CONTROLS ---- }}
{% assign splitter = '|' %}
{% assign shop_title = store.name | split: splitter %}
<!DOCTYPE html>
<html lang="en">
{% assign: tfbase = "https://themefiend.com/themehost/legend/" %}
{% assign: tfb = tfbase %}
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="{{ 'api' | theme_js_url | replace: 'http', 'https' }}"></script>
<script src="{{ theme | theme_js_url | replace: 'http', 'https' }}" type="text/javascript"></script>
<meta name="author" content="{{ store.name }}">
<meta name="description" content="{{ page.meta_description | remove: "(#)" | remove: "(&)" | remove: "(!)" | remove: "(!!)" | remove: "(!!!)" | remove: "(*)" | remove: "(;)" | remove: "(^)" | remove: "($)" | remove: "(+)" }}">
<meta name="keywords" content="{{ page.meta_keywords | remove: "(#)" | remove: "(&)" | remove: "(!)" | remove: "(!!)" | remove: "(!!!)" | remove: "(*)" | remove: "(;)" | remove: "(^)" | remove: "($)" | remove: "(+)" }}">
{% if product != blank and page.full_url contains '/product/' %}
<meta property="og:title" content="{{ product.name | escape }}">
<meta property="og:type" content="product">
<meta property="og:url" content="{{ page.full_url }}">
<meta property="og:image" content="{{ product.image.url }}">
<meta property="og:site_name" content="{{ store.name | escape }}">
{% endif %}
<script src="{{tfb}}assets/js/jquery-2.1.3.min.js"></script>
{% unless page.permalink == 'home' %}<title>{% if page.full_url contains "search=" %}Product Search{% elsif theme.collections and page.full_url contains '/products' %}Collections{% else %}{{ page.name | remove: "(#)" | remove: "(&)" | remove: "(!)" | remove: "(!!)" | remove: "(!!!)" | remove: "(*)" | remove: "(;)" | remove: "(^)" | remove: "($)" | remove: "(+)" }}{% if page.name contains '(^)' %} | Redirecting...{% endif %}{% endif %} | {{ shop_title[0] }}</title>{% endunless %}
{% if page.permalink == 'home' %}<title>{{ shop_title[0] }} | {{ shop_title[1] }}</title>{% endif %}
<!-- Favicon -->
<link rel="shortcut icon" href="{{ Favicon_URL }}">
<!-- Bootstrap core CSS -->
<link href="{{tfb}}assets/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Plugins -->
<link href="{{tfb}}assets/css/font-awesome.min.css" rel="stylesheet">
<link href="{{tfb}}assets/css/et-line-font.css" rel="stylesheet">
<link href="{{tfb}}assets/css/simpletextrotator.css" rel="stylesheet">
<link href="{{tfb}}assets/css/magnific-popup.css" rel="stylesheet">
<link href="{{tfb}}assets/css/owl.carousel.css" rel="stylesheet">
<link href="{{tfb}}assets/css/superslides.css" rel="stylesheet">
<link href="{{tfb}}assets/css/vertical.css" rel="stylesheet">
<link href="{{tfb}}assets/css/animate.css" rel="stylesheet">
<!-- Template core CSS -->
<link href="{{ theme | theme_css_url }}" rel="stylesheet">
{% if page.name contains '(^)' %}<meta name="robots" content="noindex, nofollow" />{% endif %}
{{ head_content }}
</head>
<body id="{{ page.permalink }}" class="{{ page.category }}">
<!-- PRELOADER -->
<div class="page-loader">
<div class="loader {% if theme.logo == blank %}text_loader{% endif %}"><span class="font-alt">Loading...</span></div>
</div>
<!-- /PRELOADER -->
<!-- WRAPPER -->
<div class="wrapper">
<!-- NAVIGATION -->
<nav class="navbar navbar-custom {% if page.permalink == 'home' %}navbar-transparent{% endif %} navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#custom-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!-- YOU LOGO HERE -->
<a class="navbar-brand logo" href="/">
<!-- IMAGE OR SIMPLE TEXT -->
{% if theme.logo != blank %}
<img class="shop_logo" src="{{ theme.logo.url | constrain: '220' }}" alt="{{ shop_title[0] }}">
{% else %}
<span class="shop_title font-alt">{{ shop_title[0] }}</span>
{% endif %}
</a>
</div>
<div class="collapse navbar-collapse" id="custom-collapse">
<ul class="nav navbar-nav navbar-right">
{% capture Auto_Page_Links %}
{% for page in pages.all %}
{% unless page.name contains '(#)' or page.name contains '(&)' or page.name contains '(:)' or page.name contains '(*)' or page.name contains '(;)' %}
{% assign parent_page_name = page.name %}
{% assign parent_page_url = page.url %}
{% capture sub_page_list %}
{% for sub_page in pages.all %}
{% unless sub_page.name == parent_page_name %}
{% capture parent_page_string %}{{ parent_page_name }} - {% endcapture %}
{% capture parent_page_url_string %}{{ parent_page_url }}-{% endcapture %}
{% if sub_page.name contains parent_page_name %}
{% assign has_sub_pages = 'true' %}
{% capture new_sub_page_name %}{{ sub_page.name | replace_first: parent_page_string, "" }}{% endcapture %}
{% if sub_page.url contains parent_page_url_string %}{% unless sub_page.name contains "(#)" %}<li>{{ sub_page | link_to: new_sub_page_name | remove: "(^)" | remove: "(#)" }}</li>{% endunless %}{% endif %}
{% endif %}
{% endunless %}
{% endfor %}
{% endcapture %}
{% assign: current_url = page.full_url %}
{% unless page.name contains ' - ' %}
{% if current_url contains page.url %}
<li data-link="{{ page.permalink }}" class="{% if has_sub_pages == 'true' %}dropdown{% endif %}">
{% else %}
<li data-link="{{ page.permalink }}" class="{% if has_sub_pages == 'true' %}dropdown{% endif %}">
{% endif %}
<a href="{% if page.name contains '(^)' %}{{ page.content | strip_html }}{% else %}{{ page.url }}{% endif %}" {% if page.name contains '(^)' %}target="new"{% endif %} class="{% if has_sub_pages == 'true' %}dropdown-toggle{% endif %}" data-toggle="{% if has_sub_pages == 'true' %}dropdown{% endif %}">{{ page.name | remove: "(^)" }}</a>{% if has_sub_pages == 'true' %}<ul class="dropdown-menu">{{ sub_page_list }}</ul>{% endif %}</li>
{% endunless %}
{% assign has_sub_pages = 'false' %}
{% endunless %}
{% endfor %}
{% endcapture %}
{% capture Category_Links %}
{% for category in categories.all %}
{% unless category.name contains '(#)' %}
{% assign parent_cat_name = category.name %}
{% assign parent_cat_url = category.url %}
{% capture sub_cat_list %}
{% for cat2 in categories.active %}
{% unless cat2.name == parent_cat_name %}
{% capture parent_cat_string %}{{parent_cat_name}} - {% endcapture %}
{% capture parent_cat_url_string %}{{ parent_cat_url }}-{% endcapture %}
{% if cat2.name contains parent_cat_name %}
{% assign has_sub_cats = 'true' %}
{% capture new_sub_cat_name %}{{ cat2.name | replace_first: parent_cat_string, "" }}{% endcapture %}
{% if cat2.url contains parent_cat_url_string %}{% unless cat2.name contains '(#)' %}<li data-link="{{ category.permalink }}">{{ cat2 | link_to: new_sub_cat_name }}{% endunless %}</li>{% endif %}
{% endif %}
{% endunless %}
{% endfor %}
{% endcapture %}
{% unless category.name contains ' - ' %}
<li data-link="{{ category.permalink }}" class="dropdown"><a class="{% if has_sub_cats == 'true' %}dropdown-toggle{% endif %}" data-toggle="{% if has_sub_cats == 'true' %}dropdown{% endif %}" href="{{ category.url }}"><span>{{ category.name | remove: "($)" | remove: "(+)" }}</span></a>{% if has_sub_cats == 'true' %}<ul class="dropdown-menu">{{ sub_cat_list }}</ul>{% endif %}</li>
{% endunless %}
{% assign has_sub_cats = 'false' %}
{% endunless %}
{% endfor %}
{% endcapture %}
{% capture Alternate_Category_Links %}
{% for category in categories.all %}
{% unless category.name contains '(#)' %}
{% assign parent_cat_name = category.name %}
{% assign parent_cat_url = category.url %}
{% capture sub_cat_list %}
{% for cat2 in categories.active %}
{% unless cat2.name == parent_cat_name %}
{% capture parent_cat_string %}{{parent_cat_name}} - {% endcapture %}
{% capture parent_cat_url_string %}{{ parent_cat_url }}-{% endcapture %}
{% if cat2.name contains parent_cat_name %}
{% assign has_sub_cats = 'true' %}
{% capture new_sub_cat_name %}{{ cat2.name | replace_first: parent_cat_string, "" }}{% endcapture %}
{% if cat2.url contains parent_cat_url_string %}{% unless cat2.name contains '(#)' %}<li data-link="{{ category.permalink }}">{{ cat2 | link_to: new_sub_cat_name }}</li>{% endunless %}{% endif %}
{% endif %}
{% endunless %}
{% endfor %}
{% endcapture %}
{% assign: current_url = page.full_url %}
{% unless category.name contains ' - ' %}
{% if current_url contains category.url %}
<li data-link="{{ category.permalink }}" class="dropdown">
{% else %}
<li data-link="{{ category.permalink }}" class="dropdown">{% endif %}<a class="{% if has_sub_cats == 'true' %}dropdown-toggle{% endif %}" data-toggle="{% if has_sub_cats == 'true' %}dropdown{% endif %}" href="{{ category.url }}"><span>{{ category.name | remove: "($)" | remove: "(+)" }}</span></a>{% if has_sub_cats == 'true' %}<ul class="dropdown-menu">{{ sub_cat_list }}</ul>{% endif %}</li>
{% endunless %}
{% assign has_sub_cats = 'false' %}
{% endunless %}
{% endfor %}
{% endcapture %}
{% capture Artists_Links %}
{% if artists.active.size > 0 %}
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Brands</a>
<ul class="dropdown-menu">
{% for artist in artists.active %}
<li><a href="{{ artist.url }}">{{ artist.name }}</a></li>
{% endfor %}
</ul>
</li>
{% endif %}
{% endcapture %}
<!-- NAVIGATION LINKS -->
{% if Categories_in_Nav_Display contains 'opdown' %}<li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="/products">Shop</a>{% endif %}
{% unless Categories_in_Nav_Display contains 'opdown' %}<li class="dropdown"><a href="/products">All Products</a>{% endunless %}
{% if Categories_in_Nav_Display contains 'opdown' %}
<ul class="dropdown-menu">
<li data-link="all-products"><a href="/products">All Products</a></li>
{% for page in pages.all %}{% if page.name contains '(*)' %}<li data-link="{{ page.permalink }}"><a href="{{ page.url }}">{{ page.name | remove: '(*)' }}</a></li>{% endif %}{% endfor %}
{{ Alternate_Category_Links }}
</ul>
{% endif %}
</li>
{% unless Categories_in_Nav_Display contains 'opdown'%}{{ Category_Links }}{% endunless %}
{{ Artists_Links }}
{{ Auto_Page_Links }}
{% unless pages.contact.name contains '(&)' %}<li><a href="/contact">{{ pages.contact.name }}</a></li>{% endunless %}
{% if theme.show_search == true %}
<!-- Search -->
<li class="dropdown"><a href="#" class="dropdown-toggle search-dropdown" data-toggle="dropdown"><i class="fa fa-search"></i></a>
<ul class="dropdown-menu leftauto" role="menu">
<li>
<div class="dropdown-search">
<form action="/products" method="get" class="search"><input type="text" name="search" id="search" class="form-control" placeholder="Search..."><button class="search-btn" type="submit"><i class="fa fa-search"></i></button></form>
</div>
</li>
</ul>
</li>
<!-- /Search -->
{% endif %}
<!-- Minicart -->
<li><a href="/cart"><i class="fa fa-shopping-cart"></i> ({{ cart.item_count }})</a></li>
<!-- /Minicart -->
</ul>
</div>
</div>
</nav>
<!-- /NAVIGATION -->
<!-- PAGE CONTENT -->
{% if page.category == 'custom' %}
<section class="module">
<div class="container">
<div class="row"><h2 class="module-title font-alt m-b-30">{{ page.name | remove: "(#)" | remove: "(&)" | remove: "(!)" | remove: "(!!)" | remove: "(!!!)" | remove: "(*)" | remove: "(;)" | remove: "(^)" }}</h2></div>
{{ page_content | paragraphs }}
</div>
</section>
{% else %}
{{ page_content }}
{% endif %}
<!-- /PAGE CONTENT -->
<!-- FOOTER -->
<section id="top-footer" class="module-small">
<div class="container">
<div class="row m-t-40">
{% assign: ft_col_width = 'col-sm-4' %}
<div id="ft_col_1" class="{{ ft_col_width }} ft_col">
<h5 class="font-alt m-t-0 m-b-20">Company</h5>
<ul class="list-unstyled">
{% if Show_Header_Links_in_Footer_too contains 'es' %}
{% for page in pages.all %}
{% unless page.name contains '(&)' or page.name contains '(#)' %}
<li><a href="{{ page.url }}">{{ page.name }}</a></li>
{% endunless %}
{% endfor %}
{% endif %}
{% for page in pages.all %}
{% if page.name contains '(&)' and page.name contains '(!)' %}
<li><a href="{% if page.name contains '(^)' %}{{ page.content | strip_html }}{% else %}{{ page.url }}{% endif %}" {% if page.name contains '(^)' %}target="new"{% endif %} >{{ page.name | remove: '(^)' | remove: '(&)' | remove: '(!)' | remove: '(!!)' }}</a></li>
{% endif %}
{% endfor %}
{% if pages.contact.name contains '(&)' %}{% unless pages.contact.name contains '(!!)' %}<li><a href="/contact">{{ pages.contact.name | remove: '(&)' | remove: '(!)' | remove: '(!!)' }}</a></li>{% endunless %}{% endif %}
</ul>
</div>
<div id="ft_col_2" class="{{ ft_col_width }} ft_col">
<h5 class="font-alt m-t-0 m-b-20">Help</h5>
<ul class="list-unstyled">
{% for page in pages.all %}
{% if page.name contains '(&)' and page.name contains '(!!)' %}
<li><a href="{% if page.name contains '(^)' %}{{ page.content | strip_html }}{% else %}{{ page.url }}{% endif %}" {% if page.name contains '(^)' %}target="new"{% endif %} >{{ page.name | remove: '(^)' | remove: '(&)' | remove: '(!)' | remove: '(!!)' }}</a></li>
{% endif %}
{% endfor %}
{% if pages.contact.name contains '(&)' and pages.contact.name contains '(!!)' %}<li><a href="/contact">{{ pages.contact.name | remove: '(&)' | remove: '(!)' | remove: '(!!)' }}</a></li>{% endif %}
</ul>
</div>
{% if theme.twitter_url != blank or theme.facebook_url != blank or theme.tumblr_url != blank or theme.instagram_url != blank or theme.twitter_username != blank or theme.facebook_username != blank or theme.tumblr_username != blank or theme.instagram_username != blank %}
<div id="ft_col_4" class="{{ ft_col_width }} ft_col">
<h5 class="font-alt m-t-0 m-b-20">Follow us</h5>
<ul id="socialicons" class="list-unstyled">
{% if theme.twitter_url != blank or theme.twitter_username != blank %}
<li><a href="http://twitter.com/{{ theme.twitter_username }}{{ theme.twitter_url | remove: 'http://' | remove: 'https://' | remove: 'www.' | remove: 'twitter.com/' }}" target="new" title="Follow us on Twitter"><svg id="twitter" xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 150.857 612 490.298" enable-background="new 0 150.857 612 490.298"><path d="M605.886 208.899c-22.068 9.841-45.777 16.493-70.667 19.486 25.397-15.318 44.908-39.572 54.106-68.477-23.776 14.186-50.104 24.48-78.14 30.037-22.442-24.058-54.426-39.088-89.817-39.088-67.956 0-123.055 55.41-123.055 123.765 0 9.7 1.083 19.144 3.182 28.207-102.265-5.171-192.933-54.438-253.625-129.322-10.587 18.287-16.659 39.547-16.659 62.228 0 42.944 21.726 80.833 54.744 103.024-20.172-.637-39.15-6.206-55.729-15.478-.012.52-.012 1.041-.012 1.561 0 59.97 42.418 109.988 98.709 121.366-10.331 2.833-21.193 4.345-32.417 4.345-7.932 0-15.637-.777-23.152-2.222 15.662 49.169 61.103 84.959 114.946 85.956-42.112 33.195-95.172 52.981-152.823 52.981-9.933 0-19.725-.588-29.352-1.726 54.456 35.116 119.138 55.612 188.619 55.612 226.33 0 350.101-188.601 350.101-352.164 0-5.367-.123-10.698-.361-16.016 24.039-17.458 44.903-39.264 61.402-64.075z"/></svg></a>
{% endif %}
{% if theme.facebook_url != blank or theme.facebook_username != blank %}
<li><a href="http://facebook.com/{{ theme.facebook_username }}{{ theme.facebook_url | remove: 'http://' | remove: 'https://' | remove: 'www.' | remove: 'facebook.com/' }}" target="new" title="Friend us on Facebook"><svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="157.162 90 297.799 612" enable-background="new 157.162 90 297.799 612"><path d="M369.036 193.795h85.68v-103.795h-121.054c-97.553 19.707-98.776 108.936-98.776 108.936v105.753h-77.724v102.938h77.724v294.373h108.324v-294.617h102.081l9.67-102.938h-111.017v-75.521c-.123-33.171 25.092-35.129 25.092-35.129z"/></svg></a>
{% endif %}
{% if theme.tumblr_url != blank or theme.tumblr_username != blank %}
<li><a href="http://{{ theme.tumblr_username }}{{ theme.tumblr_url | remove: 'http://' | remove: 'https://' | remove: 'www.' | remove: '.tumblr.com' }}.tumblr.com" target="new" title="Follow us on Tumblr"><svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="117.504 90 377.114 611.937" enable-background="new 117.504 90 377.114 611.937"><path d="M493.272 571.276c-14.566 13.832-55.692 26.194-55.692 26.194-115.179 27.907-107.957-66.464-107.957-66.464v-189.72h144.31v-96.818h-144.31v-154.468h-87.883c-11.383 139.658-124.236 164.628-124.236 164.628v87.394h67.81v224.604c-.979 62.424 36.475 92.656 36.475 92.656 115.056 89.964 272.83 9.67 272.83 9.67v-99.021l-1.347 1.345z"/></svg></a>
{% endif %}
{% if theme.instagram_url != blank or theme.instagram_username != blank %}
<li><a href="http://instagram.com/{{ theme.instagram_username }}{{ theme.instagram_url | remove: 'http://' | remove: 'https://' | remove: 'www.' | remove: 'instagram.com/' }}" target="new" title="Follow us on Instagram"><svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 90 612 612" enable-background="new 0 90 612 612"><path d="M540.273 90h-468.546c-39.536 0-71.727 32.191-71.727 71.727v468.67c0 39.412 32.191 71.603 71.727 71.603h468.67c39.535 0 71.726-32.191 71.726-71.727v-468.546c-.123-39.414-32.436-71.727-71.85-71.727zm-234.273 190.332c63.893 0 115.668 51.775 115.668 115.668s-51.775 115.668-115.668 115.668-115.668-51.775-115.668-115.668 51.775-115.668 115.668-115.668zm236.232 327.787c0 13.097-10.771 23.868-23.868 23.868h-425.952c-13.097 0-23.868-10.771-23.868-23.868v-259.61h56.304c-3.917 15.178-6.12 31.212-6.12 47.491 0 103.551 83.966 187.272 187.272 187.272s187.272-83.721 187.272-187.272c0-16.524-2.204-32.313-6.12-47.491h55.08v259.61zm0-353.001c0 13.097-10.771 23.868-23.868 23.868h-69.769c-13.097 0-23.868-10.771-23.868-23.868v-69.768c0-13.097 10.771-23.868 23.868-23.868h69.769c13.097 0 23.868 10.771 23.868 23.868v69.768z"/></svg></a></li>
{% endif %}
</ul>
</div>
{% endif %}
</div>
</div>
</section>
<hr class="divider"><!-- DIVIDER -->
<footer class="module-small p-t-30 p-b-30">
<div class="container">
<div class="col-sm-12">
<p class="copyright text-center m-b-0">© {{ 'now' | date: "%Y" }} <a href="/"><strong>{{ shop_title[0] }}</strong></a> | All Rights Reserved | <span class="tf_credit">Designed by <a href="http://themefiend.com" target="new">Theme Fiend</a>.</span></p>
</div>
</div>
</footer>
<!-- /FOOTER -->
</div>
<!-- /WRAPPER -->
<!-- SCROLLTOP -->
<div class="scroll-up">
<a href="#totop"><i class="fa fa-angle-double-up"></i></a>
</div>
<!-- Javascript files -->
<script src="{{tfb}}assets/bootstrap/js/bootstrap.min.js"></script>
<script src="{{tfb}}assets/js/jquery.superslides.min.js"></script>
<script src="{{tfb}}assets/js/jquery.touchSwipe.min.js"></script>
<script src="{{tfb}}assets/js/jquery.mb.YTPlayer.min.js"></script>
<script src="{{tfb}}assets/js/jquery.magnific-popup.min.js"></script>
<script src="{{tfb}}assets/js/owl.carousel.min.js"></script>
<script src="{{tfb}}assets/js/jquery.simple-text-rotator.min.js"></script>
<script src="{{tfb}}assets/js/imagesloaded.pkgd.js"></script>
<script src="{{tfb}}assets/js/isotope.pkgd.min.js"></script>
<script src="{{tfb}}assets/js/packery-mode.pkgd.min.js"></script>
<script src="{{tfb}}assets/js/appear.js"></script>
<script src="{{tfb}}assets/js/jquery.easing.1.3.js"></script>
<script src="{{tfb}}assets/js/wow.min.js"></script>
<script src="{{tfb}}assets/js/jqBootstrapValidation.js"></script>
<script src="{{tfb}}assets/js/jquery.fitvids.js"></script>
<script src="{{tfb}}assets/js/jquery.parallax-1.1.3.js"></script>
<script src="{{tfb}}assets/js/smoothscroll.js"></script>
<script src="{{tfb}}assets/js/custom.js"></script>
{% if page.full_url contains '/product/' %}<script src="{{tfb}}assets/js/jquery.pick.js"></script>{% endif %}
<script src="https://maps.google.com/maps/api/js?sensor=true"></script>
<script type="text/javascript" src="https://s3.amazonaws.com/themefiend/js/flexslider/jquery.flexslider-min.js"></script>
<script type="text/javascript" charset="utf-8">
(function($) {
{% if page.name contains '(^)' %}window.location.replace("{{ page.content | strip_html }}");{% endif %}
$('p:empty, #products br, .multi-columns-row br').remove();
// adding touch support for the main slider (using SouchSwipe)
var $slides = $('#slides');
$slides.swipe( {
swipeLeft:function() {
$slides.data('superslides').animate('next');
},
swipeRight:function() {
$(this).superslides('animate', 'prev');
}
});
})(jQuery);
</script>
</body>
</html>