Advertisement
Guest User

theme lig

a guest
Jan 4th, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.90 KB | None | 0 0
  1. <!doctype html>
  2. <!--[if IE 9]> <html class="ie9 no-js" lang="{{ shop.locale }}"> <![endif]-->
  3. <!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js" lang="{{ shop.locale }}"> <!--<![endif]-->
  4. <head>
  5. <meta name="google-site-verification" content="4HUNjpg6ZFXV-jBIOCbkCMQyQs0kwl5Tkiez1CMJnaE" />
  6. <meta charset="utf-8">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  8. <meta name="viewport" content="width=device-width,initial-scale=1">
  9. <meta name="theme-color" content="{{ settings.color_header_bg }}">
  10.  
  11. {% if settings.favicon != blank %}
  12. <link rel="shortcut icon" href="{{ settings.favicon | img_url: '32x32' }}" type="image/png">
  13. {% endif %}
  14.  
  15. <link rel="canonical" href="{{ canonical_url }}">
  16. <title>
  17. {{ page_title }}{% if current_tags %}{% assign meta_tags = current_tags | join: ', ' %} &ndash; {{ 'general.meta.tags' | t: tags: meta_tags }}{% endif %}{% if current_page != 1 %} &ndash; {{ 'general.meta.page' | t: page: current_page }}{% endif %}{% unless page_title contains shop.name %} &ndash; {{ shop.name }}{% endunless %}
  18. </title>
  19.  
  20. {% if page_description %}
  21. <meta name="description" content="{{ page_description | escape }}">
  22. {% endif %}
  23.  
  24. {% include 'social-meta-tags' %}
  25.  
  26. <script>
  27. document.documentElement.className = document.documentElement.className.replace('no-js', 'js');
  28. </script>
  29.  
  30. {{ 'theme.scss.css' | asset_url | stylesheet_tag }}
  31. {% include 'google-fonts' %}
  32.  
  33. <script>
  34. window.theme = window.theme || {};
  35.  
  36. theme.strings = {
  37. stockAvailable: {{ 'products.product.stock_available' | t: count: '1' | json }},
  38. addToCart: {{ 'products.product.add_to_cart' | t | json }},
  39. soldOut: {{ 'products.product.sold_out' | t | json }},
  40. unavailable: {{ 'products.product.unavailable' | t | json }},
  41. noStockAvailable: {{ 'products.product.stock_unavailable' | t | json }},
  42. willNotShipUntil: {{ 'products.product.will_not_ship_until' | t: date: '[date]' | json }},
  43. willBeInStockAfter: {{ 'products.product.will_be_in_stock_after' | t: date: '[date]' | json }},
  44. totalCartDiscount: {{ 'cart.general.savings_html' | t: price: '[savings]' | json }}
  45. };
  46. </script>
  47.  
  48. {% if template contains 'customers' %}
  49. <!--[if (gt IE 9)|!(IE)]><!--><script src="{{ 'shopify_common.js' | shopify_asset_url }}" defer="defer"></script><!--<![endif]-->
  50. <!--[if lte IE 9]><script src="{{ 'shopify_common.js' | shopify_asset_url }}"></script><![endif]-->
  51. {% endif %}
  52.  
  53. <!--[if (gt IE 9)|!(IE)]><!--><script src="{{ 'vendor.js' | asset_url }}" defer="defer"></script><!--<![endif]-->
  54. <!--[if lt IE 9]><script src="{{ 'vendor.js' | asset_url }}"></script><![endif]-->
  55.  
  56. {% if template contains 'product' or template contains 'cart' %}
  57. <script>
  58. window.theme = window.theme || {};
  59. theme.moneyFormat = {{ shop.money_format | json }};
  60. </script>
  61. {% endif %}
  62.  
  63. <!--[if (gt IE 9)|!(IE)]><!--><script src="{{ 'theme.js' | asset_url }}" defer="defer"></script><!--<![endif]-->
  64. <!--[if lte IE 9]><script src="{{ 'theme.js' | asset_url }}"></script><![endif]-->
  65.  
  66. {{ content_for_header }}
  67. </head>
  68.  
  69. <body class="template-{{ template | replace: '.', ' ' | truncatewords: 1, '' | handle }}" >
  70.  
  71. <a class="in-page-link visually-hidden skip-link" href="#MainContent">
  72. {{ 'general.accessibility.skip_to_content' | t }}
  73. </a>
  74.  
  75. {% section 'header' %}
  76.  
  77. <div class="page-container page-element is-moved-by-drawer">
  78. <main class="main-content" id="MainContent" role="main">
  79. {{ content_for_layout }}
  80. </main>
  81.  
  82. {% section 'footer' %}
  83. </div>
  84.  
  85. <script id="QuantityTemplate" type="text/template">
  86. {% raw %}
  87. <div class="js-qty">
  88. <input type="text" value="{{ value }}" id="{{ key }}" name="{{ name }}" pattern="[0-9]*" data-line="{{ line }}" class="js-qty__input" aria-live="polite">
  89. <button type="button" class="js-qty__adjust js-qty__adjust--minus" aria-label="{% endraw %}{{ 'cart.label.decrease_quantity' | t }}{% raw %}">
  90. {% endraw %}{% include 'icon-minus' %}{% raw %}
  91. <span class="icon__fallback-text">−</span>
  92. </button>
  93. <button type="button" class="js-qty__adjust js-qty__adjust--plus" aria-label="{% endraw %}{{ 'cart.label.increase_quantity' | t }}{% raw %}">
  94. {% endraw %}{% include 'icon-plus' %}{% raw %}
  95. <span class="icon__fallback-text">+</span>
  96. </button>
  97. </div>
  98. {% endraw %}
  99. </script>
  100.  
  101. {% if template contains 'product' %}
  102. <div id="ProductModal" class="modal">
  103. <div class="modal__inner">
  104. <img src="" id="ProductZoomImg" class="product-modal__image">
  105. </div>
  106. <button type="button" class="modal__close js-modal-close text-link">
  107. {% include 'icon-close' %}
  108. <span class="icon__fallback-text">{{ 'general.accessibility.close_modal' | t | json }}</span>
  109. </button>
  110. </div>
  111. {% endif %}
  112. </body>
  113. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement