blob: a808576bf56857bab8cefb983f7373c46aeee49a (
plain)
1
2
3
4
5
6
7
8
9
10
|
{{ $author := partial "author-user.html" . }}
{{ $count := 0 }}
{{ range .Site.Pages }}
{{ if and (eq .Type $author) .Params.Liked }}
{{ $count = add $count 1 }}
{{ end }}
{{ end }}
{{ print (lang.FormatNumberCustom 0 $count) " " "Messages" }}
|