From e4336f06277342b022f3ecb53bb9782c4af87570 Mon Sep 17 00:00:00 2001 From: Ryan Watters Date: Sun, 30 Apr 2017 16:23:41 -0500 Subject: [PATCH] Fix minor typos in "where" function page --- content/functions/where.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/functions/where.md b/content/functions/where.md index 5bca61498..23ed28b6b 100644 --- a/content/functions/where.md +++ b/content/functions/where.md @@ -101,7 +101,7 @@ You can also put the returned value of the `where` clauses into a variable: ## Using `where` with `first` -The following grabs the first five content files in `post` using the [default ordering](/templates/lists/) for lists (i.e., `weight => date`): +The following ranges through the first five content files in the `post` section using the [default ordering](/templates/lists/) for lists (i.e., `weight => date`): {{% code file="where-with-first.html" %}} ```html @@ -113,7 +113,7 @@ The following grabs the first five content files in `post` using the [default or ## Nesting `where` Clauses -You can also nest `where` clauses to drill down on lists of content by more than one parameter. The following first grabs all pages in the "blog" section and then ranges through the result of the first `where` clause and finds all pages that are *not* featured: +You can also nest `where` clauses to drill down on lists of content by more than one parameter. The following example first grabs all pages in the `blog` section and then ranges through only those pages that are *not* featured: ```html {{ range where (where .Data.Pages "Section" "blog" ) ".Params.featured" "!=" "true" }}