Skip to content

Instantly share code, notes, and snippets.

@merqlove
Last active January 29, 2017 12:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save merqlove/95f8e3ecc85380110bca828705444453 to your computer and use it in GitHub Desktop.
Save merqlove/95f8e3ecc85380110bca828705444453 to your computer and use it in GitHub Desktop.
Liquid example
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{ site.name }}</title>
<meta charset="utf-8">
<meta name="format-detection" content="telephone=no" />
<link rel="icon" href="{{ 'favicon.ico' | theme_image_url }}">
<link rel="shortcut icon" href="{{ 'favicon.ico' | theme_image_url }}">
{{ 'style.css' | stylesheet_tag }}
{{ 'jquery.js' | javascript_tag }}
{{ 'jquery-migrate-1.1.1.js' | javascript_tag }}
{{ 'script.js' | javascript_tag }}
{{ 'superfish.js' | javascript_tag }}
{{ 'jquery.equalheights.js' | javascript_tag }}
{{ 'jquery.easing.1.3.js' | javascript_tag }}
<script type="text/javascript">
function goToByScroll(id){$('html,body').animate({scrollTop: $("#"+id).offset().top},'slow');}
</script>
{% block head %}
{% endblock %}
<!--[if lt IE 8]>
<div style=' clear: both; text-align:center; position: relative;'>
<a href="http://windows.microsoft.com/en-US/internet-explorer/products/ie/home?ocid=ie6_countdown_bannercode">
<img src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_0000_us.jpg" border="0" height="42" width="820" alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today." />
</a>
</div>
<![endif]-->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
{{ 'html5shiv.js' | javascript_tag }}
{{ 'ie.css' | stylesheet_tag }}
<![endif]-->
</head>
<body class="page1" id="top">
<!--==============================header=================================-->
<header>
{% include 'logo' %}
<div class="clear"></div>
{% block header %}
{% endblock %}
{% include 'menu' %}
</header>
<!--=====================Content======================-->
<section class="content">
{% block content %}
{% endblock %}
</section>
<!--==============================Bot_block=================================-->
<!--==============================footer=================================-->
{% include 'footer' %}
{% block footer %}
{% endblock %}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment