blob: 1d5e49b3b194fab72f8f8fec36009c80afc3b4cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{{ $author := partial "author-user.html" . }}
{{ $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" }}
|