blob: 78b57a5b71bdd171e302cb18ebabd78c3bf92db1 (
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) .Draft }}
{{ $count = add $count 1 }}
{{ end }}
{{ end }}
{{ print (lang.FormatNumberCustom 0 $count) " " "Drafts" }}
|