summaryrefslogtreecommitdiff
path: root/layouts/_shortcodes/wordcount.html
blob: 3b302b8275d2bffe385d573bf478543ff018830b (plain)
1
2
3
4
5
{{ $total := 0 }}
{{ range where .Site.RegularPages "Section" "posts" }}
  {{ $total = add $total .WordCount }}
{{ end }}
{{ $total }}