blob: 13782cc79857284ffc377fca6b18b0f1bd352f28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{{- $author := partial "function-authors-data.html" . -}}
{{- $author = $author.user -}}
{{ $count := 0 }}
{{ range .Site.Pages }}
{{ if or
(in .Content "<figure>")
(in .Content "<imgur-video>")
(in .Content "<youtube-video>")
(in .Content "<video-container>")
}}
{{ if eq .Type $author }}
{{ $count = add $count 1 }}
{{ end }}
{{ end }}
{{ end }}
{{ print (lang.FormatNumberCustom 0 $count) " " "Messages" }}
|