mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-19 19:00:39 -07:00
Fix variable name
This commit is contained in:
+2
-2
@@ -15,7 +15,7 @@ All products:
|
|||||||
- {{ product.title }}
|
- {{ product.title }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% assign kitchen_products = site.pages | where: "type", "kitchen" %}
|
{% assign kitchen_products = products | where: "type", "kitchen" %}
|
||||||
|
|
||||||
Kitchen products:
|
Kitchen products:
|
||||||
{% for product in kitchen_products %}
|
{% for product in kitchen_products %}
|
||||||
@@ -87,4 +87,4 @@ Featured product: {{ new_shirt.title }}
|
|||||||
<p class="code-label">Output</p>
|
<p class="code-label">Output</p>
|
||||||
```text
|
```text
|
||||||
Featured product: Hawaiian print sweater vest
|
Featured product: Hawaiian print sweater vest
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user