mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-01 21:09:14 -05:00
20 lines
466 B
Markdown
20 lines
466 B
Markdown
---
|
|
title: FuzzyWordCount
|
|
description: Returns the number of words in the content of the given page, rounded up to the nearest multiple of 100.
|
|
categories: []
|
|
keywords: []
|
|
action:
|
|
related:
|
|
- methods/page/WordCount
|
|
- methods/page/ReadingTime
|
|
returnType: int
|
|
signatures: [PAGE.FuzzyWordCount]
|
|
---
|
|
|
|
```go-html-template
|
|
{{ .FuzzyWordCount }} → 200
|
|
```
|
|
|
|
To get the exact word count, use the [`WordCount`] method.
|
|
|
|
[`WordCount`]: /methods/page/wordcount/
|