Skip to content

Commit fbad7cf

Browse files
committed
Fix variable name
1 parent ea0bf2d commit fbad7cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

filters/where.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ All products:
1515
- {{ product.title }}
1616
{% endfor %}
1717
18-
{% assign kitchen_products = site.pages | where: "type", "kitchen" %}
18+
{% assign kitchen_products = products | where: "type", "kitchen" %}
1919
2020
Kitchen products:
2121
{% for product in kitchen_products %}
@@ -87,4 +87,4 @@ Featured product: {{ new_shirt.title }}
8787
<p class="code-label">Output</p>
8888
```text
8989
Featured product: Hawaiian print sweater vest
90-
```
90+
```

0 commit comments

Comments
 (0)