mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Merge commit '230a495941b191af0bdaa7e2fc8c61607cb38207'
This commit is contained in:
@@ -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 }}
|
||||
|
@@ -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: []
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user