mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
21 lines
465 B
Markdown
21 lines
465 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
|