少于1分钟
将以下英文翻译为中文:
https://gohugo.io/functions/countwords/
Counts the number of words in a string.
countwords INPUT
The template function works similar to the .WordCount page variable.
1 2
{{ "Hugo is a static site generator." | countwords }} <!-- outputs a content length of 6 words. -->