Omphaloskepsis-2/layouts/partials/single/main-header/word-count.html

9 lines
229 B
HTML

{{- /*
Displays the length of an item.
@params wordCount The wordcount of an item.
*/
-}}
<p class="article-header__word-count">~<span itemprop="wordCount">{{ .wordCount | lang.FormatNumberCustom 0 }}</span> words</p>