From fbad7cf377b712783d6de33e8cd8da841c5e0db7 Mon Sep 17 00:00:00 2001 From: Samuel Date: Mon, 7 Jan 2019 13:13:02 -0500 Subject: [PATCH] Fix variable name --- filters/where.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filters/where.md b/filters/where.md index d58adbb..178f829 100644 --- a/filters/where.md +++ b/filters/where.md @@ -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 }}

Output

```text Featured product: Hawaiian print sweater vest -``` \ No newline at end of file +```