mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-27 22:09:53 +02:00
Merge commit '35dec7c96f7ee3eb17dd444f7067f0c776fb56ae'
This commit is contained in:
20
docs/content/en/methods/page/FuzzyWordCount.md
Normal file
20
docs/content/en/methods/page/FuzzyWordCount.md
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
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
|
Reference in New Issue
Block a user