blob: 02e755e16e58321e6c4dcca62823ab2653f30628 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{{- $author := partial "function-authors-data.html" . -}}
{{- $notFeeds := where .Site.RegularPages "Params.feed" "eq" nil -}}
{{- $authors := where .Site.RegularPages "Section" $author.user -}}
{{- $filteredPages := $authors | intersect $notFeeds -}}
{{- $count := 0 -}}
{{- range first 100 $filteredPages -}}
{{- if eq $count 10 -}}
{{- break -}}
{{- end -}}
{{- if or
(in .Content "<figure>")
(in .Content "<youtube-video>")
(in .Content "<video-container>")
-}}
{{- $count = add $count 1 -}}
{{- end -}}
{{- end -}}
{{- print (lang.FormatNumberCustom 0 $count) -}}
|