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