Created
October 20, 2015 07:20
-
-
Save dinhnguyen/8969a09b4a8e97450161 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
{% if settings.enable_favicon %} | |
<link rel="shortcut icon" href="{{ 'favicon.png' | asset_url }}" type="image/png"> | |
{% endif %} | |
<title>{{ page_title }} {% unless page_title contains store.name %} – {{ store.name }}{% endunless %}</title> | |
{% if page_description %} | |
<meta name="description" content="{{ page_description | escape }}"> | |
{% endif %} | |
{% include 'open-graph-tags' %} | |
{% include 'twitter-card' %} | |
<link rel="canonical" href="{{ canonical_url }}"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> | |
{% if settings.typeface == 'google_type' %}{{ settings.google_font_code }}{% endif %} | |
{{ 'bootstrap.min.css' | asset_url | stylesheet_tag }} | |
{{ 'style.css' | asset_url | stylesheet_tag }} | |
{{ content_for_header }} | |
{% include 'oldIE-js' %} | |
{{ '//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js' | script_tag }} | |
{{ 'modernizr.min.js' | asset_url | script_tag }} | |
{% if template contains 'customers' %} | |
{{ 'bizweb-api.js' | bizweb_asset_url | script_tag }} | |
{{ 'common.js' | bizweb_asset_url | script_tag }} | |
{{ 'customer.js' | bizweb_asset_url | script_tag }} | |
{% endif %} | |
{% include 'bizweb-cff-quick-view-init' %}{{ 'cf-stylesheet.css' | asset_url | stylesheet_tag }} | |
</head> | |
<body id="{{ page_title | handleize }}" {%="" if="" template="" contains="" 'index'="" %}class="index" {%="" else="" %}class="not-index" {%="" endif="" %}=""> | |
<nav class="navbar navbar-custom navbar-fixed-top" role="navigation"> | |
<div class="container"> | |
<div class="navbar-header"> | |
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse"> | |
<i class="fa fa-bars"></i> | |
</button> | |
<a class="navbar-brand page-scroll" href="/"> | |
{% if settings.enable_custom_logo %} | |
<img src="{{ 'logo.png' | asset_url }}" alt="{{ store.name }}" class="logo-height"> | |
{% else %} | |
<span>{{ store.name }}</span> | |
{% endif %} | |
</a> | |
</div> | |
<div class="collapse navbar-collapse navbar-main-collapse"> | |
<ul class="nav navbar-nav"> | |
{% for link in linklists.main-menu.links %} | |
{% assign child_list_handle = link.title | handleize %} | |
{% if linklists[child_list_handle].links != null %} | |
<li class="dropdown"> | |
<a href="{{ link.url }}" class="dropdown-toggle" data-toggle="dropdown">{{ link.title }} <i class="fa fa-caret-down"></i></a> | |
<ul class="dropdown-menu"> | |
{% for childlink in linklists[child_list_handle].links %} | |
<li{% if="" childlink.active="" %}="" class="nav-active" {%="" endif="" %}=""><a href="{{ childlink.url }}">{{ childlink.title | escape }}</a></li{%></ul></li> | |
{% endfor %} | |
{% else %} | |
<li {%="" if="" link.active="" %}class="active" {%="" endif="" %}=""> | |
<a href="{{ link.url }}">{{ link.title }}</a> | |
</li> | |
{% endif %} | |
{% endfor %} | |
<ul class="nav navbar-nav navbar-right"> | |
<li><a href="/search"><i class="fa fa-search"></i></a></li> | |
<li><a href="/account"><i class="fa fa-user"></i></a></li> | |
<li><a href="/cart"><i class="fa fa-shopping-cart"></i></a></li> | |
</ul> | |
</ul></div> | |
</div> | |
</nav> | |
{{ content_for_layout }} | |
{% include 'footer' %} | |
{{ 'bootstrap.min.js' | asset_url | script_tag }} | |
{{ 'script.js' | asset_url | script_tag }} | |
{{ 'api.jquery.js' | bizweb_asset_url | script_tag }} | |
{{ 'option-selectors.js' | bizweb_asset_url | script_tag }} | |
{% include 'bizweb-cff-quick-view-template' %}<input type="hidden" name="_pc_params" value="{{ store.permanent_domain }}:{{ customer.id }}"></body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment