diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-02-14 12:58:42 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-02-14 12:58:42 +0100 |
commit | c707b71cdf343b8e19b8682a67aa90fee1d21c3f (patch) | |
tree | c08884d25b691bf3caea63a0a5e77c1e5e11fbb9 /docs/content/en/functions | |
parent | b0a9cf0a759e63309ac7e37bb90de161b3ebc051 (diff) | |
parent | 230a495941b191af0bdaa7e2fc8c61607cb38207 (diff) |
Merge commit '230a495941b191af0bdaa7e2fc8c61607cb38207'
Diffstat (limited to 'docs/content/en/functions')
-rw-r--r-- | docs/content/en/functions/complement.md | 2 | ||||
-rw-r--r-- | docs/content/en/functions/symdiff.md | 2 | ||||
-rw-r--r-- | docs/content/en/functions/union.md | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/en/functions/complement.md b/docs/content/en/functions/complement.md index 461227789..a41faf524 100644 --- a/docs/content/en/functions/complement.md +++ b/docs/content/en/functions/complement.md @@ -15,7 +15,7 @@ aliases: [] Example: ```go-html-template -{{ $pages := .Site.RegularPages | first 50 }} +{{ $pages := site.RegularPages | first 50 }} {{ $news := where $pages "Type" "news" | first 5 }} {{ $blog := where $pages "Type" "blog" | first 5 }} {{ $other := $pages | complement $news $blog | first 10 }} diff --git a/docs/content/en/functions/symdiff.md b/docs/content/en/functions/symdiff.md index b47bd26c0..da269a422 100644 --- a/docs/content/en/functions/symdiff.md +++ b/docs/content/en/functions/symdiff.md @@ -6,7 +6,7 @@ categories: [functions] menu: docs: parent: "functions" -keywords: [collections,intersect,union, complement] +keywords: [collections,intersect,union,complement] signature: ["COLLECTION | symdiff COLLECTION" ] hugoversion: "0.51" aliases: [] diff --git a/docs/content/en/functions/union.md b/docs/content/en/functions/union.md index bf2a302d4..459e3620d 100644 --- a/docs/content/en/functions/union.md +++ b/docs/content/en/functions/union.md @@ -9,7 +9,7 @@ categories: [functions] menu: docs: parent: "functions" -keywords: [filtering,lists] +keywords: [collections,intersect,union,complement] signature: ["union SET1 SET2"] workson: [] hugoversion: 0.20 |