mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-17 01:40:42 -07:00
Add split example to example servlet.
This commit is contained in:
@@ -16,8 +16,12 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>There are currently {{products | count}} products in the {{section}} catalog</h1>
|
||||
|
||||
<h1>{{ description | split '~' | first }}</h1>
|
||||
|
||||
<h2>{{ description | split '~' | last }}</h2>
|
||||
|
||||
<h2>There are currently {{products | count}} products in the {{section}} catalog</h2>
|
||||
|
||||
{% if cool_products %}
|
||||
Cool products :)
|
||||
|
||||
Reference in New Issue
Block a user