Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e17f488b34
Fetching contributors…

Cannot retrieve contributors at this time

162 lines (124 sloc) 5.13 kb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="MSSmartTagsPreventParsing" content="true" />
<title>Liquid Test</title>
<link href="/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">
<h1><a href="/">Liquid Editor</a></h1>
</div>
<div id="container" class="clearfix">
<ul id="tabs">
<li><a href="/" id="current">Mixed Mode</a></li>
<li><a href="/standalone.html">Standalone Liquid</a></li>
</ul>
<!-- begin div.main-->
<div id="main">
<div>
<textarea id="code" cols="140" rows="40">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>{{shop.name}} — {{page_title}}</title>
{{ 'layout.css' | asset_url | stylesheet_tag }}
{{ 'lightbox/v2/lightbox.css' | global_asset_url | stylesheet_tag }}
{{ 'lightbox/v2/lightbox.js' | global_asset_url | script_tag }}
{{content_for_header }}
</head>
<body>
{% if cart.items < 5 %}
<p> Wow you got lots of stuff! </p>
{% endif %}
{% if cart.items > 3 %}
<p> You are not buying enough! </p>
{% endif %}
{% if cart.items['first'][name] == 'Hello world' %}
<p> Hello world! </p>
{% endif %}
<div id="demostore">
This is a {{ 'Shopify' | link_to: 'http://www.shopify.com' }} demo store. We do not have the products advertised here and we don't really charge money upon order completion.
</div><div id="main">
<div id="container">
<div id="header">
<ul id="sitelinks">
{% for link in linklists.footer.links %}
<li>{{ link.title | link_to: link.url }}</li>
{% endfor %}
<li class="cartlink">
{% if cart['item_count'] == 0 %}
<strong>Shopping Cart</strong> <img src="{{ 'cart.gif' | asset_url }}" alt="Shopping Cart" height="26" width="26" />
{% else %}
<strong><a href="/cart">Shopping Cart</a></strong> ({{cart.item_count}} {{ cart.item_count | pluralize: 'item', 'items' }})<img src="{{ 'cart.gif' | asset_url }}" alt="Shopping Cart" height="26" width="26" />
{% endif %}
</li>
</ul>
</div>
<div id="side" class="left">
<div class="menubar">
<ul id="nav">
{% for link in linklists.main-menu.links %}
<li class="{%if forloop.first%}home first{%endif%}{%if forloop.last%}last{%endif%}"><strong>{{ link.title | link_to: link.url }}</strong></li>
{% endfor %}
</ul>
</div>
<div id="searchbox">
<form method="get" action="/search">
<input type="text" size="16" name="q" onfocus="if(this.value='Search...'){this.value = ''}" value="Search..." />
</form>
</div>
<div id="featurebox">
<ul id="feature">
<li class="first"><strong>Blowout Deals</strong></li>
{% for link in linklists.deals.links %}
<li class="">{{ link.title | link_to: link.url }}</li>
{% endfor %}
</ul>
</div>
</div>
<div id="content" class="content">
{{content_for_layout}}
</div>
<div id="footer">
<p><span>All rights reserved.</span><br /><br />
<span> Copyright {{ 'now' | date: "2005-%Y"}} Snowdevil.</span> <span>All sales are final. All prices in Canadian dollars.</span><br/>
<span class="partners">Please visit our partner pages: <a target="_blank" href="http://www.hoppels.com">Windsurf </a > <a target="_blank" href="http://www.brett-ist-brett.de">Funsport Photo Community</a></span></p>
</div>
</div>
</div>
</body>
</html>
</textarea>
<script src="codemirror/js/codemirror.js" type="text/javascript"></script>
<style type="text/css">
.CodeMirror-line-numbers {
width: 2.2em;
color: #aaa;
background-color: #eee;
text-align: right;
padding-right: .3em;
font-size: 10pt;
font-family: monospace;
padding-top: .4em;
}
</style>
<script type="text/javascript">
CodeMirror.fromTextArea('code', {
height: "600px",
parserfile: "../../javascripts/parseliquid.js" ,
stylesheet: ["/codemirror/css/xmlcolors.css", "/stylesheets/liquidcolors.css"],
path: "codemirror/js/",
textWrapping: false,
lineNumbers: true
});
</script>
</div>
</div>
<!-- end div.main -->
</div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.