blob: 8ebad51d896e34cf4f74be2958ead22561d4fd59 (
plain)
1
2
3
4
5
6
7
8
9
10
|
{{- $input := . -}}
{{- $notExpired := where $input "Params.expirydate" "eq" nil -}}
{{- $notUnlisted := where $input "Params.unlisted" "eq" nil -}}
{{- $filteredPages := $notExpired | intersect $notUnlisted -}}
{{- $output := $filteredPages -}}
{{- return $output -}}
|