hugo/docs/content/en/methods/page/WordCount.md
2023-12-04 15:24:01 +01:00

437 B

title description categories keywords action
WordCount Returns the number of words in the content of the given page.
related returnType signatures
methods/page/FuzzyWordCount
methods/page/ReadingTime
int
PAGE.WordCount
{{ .WordCount }} → 103

To round up to nearest multiple of 100, use the FuzzyWordCount method.