blob: 3c0cc5acd63bcfa8ed7c9f8c108fa5f21b28a5b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
{{- $author := partial "function-authors-data.html" . -}}
{{- $author = $author.user -}}
{{ $count := 0 }}
{{ range .Site.Pages }}
{{ if and (eq .Type $author) .Draft }}
{{ $count = add $count 1 }}
{{ end }}
{{ end }}
{{ print (lang.FormatNumberCustom 0 $count) " " "Drafts" }}
|