blob: b25155515fef735b5f162a56da7b95bf66b31b4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
{{- $count := 0 -}}
{{- $author := .Section -}}
{{- $items := where .Site.RegularPages ".Params.marked" true -}}
{{- $authors := where .Site.RegularPages "Section" $author -}}
{{- $filteredPages := $authors | intersect $items -}}
{{- range $filteredPages -}}
{{- $count = add $count 1 -}}
{{- end -}}
{{- print (lang.FormatNumberCustom 0 $count) -}}
|