HUGO

Word Count returning nothing

I’m trying to use the wordCount variable at my post, but I can’t make it work.

image

My full code is at:

I’m trying to make a blog, for study purposes.

Untested, but I think they should be separate: {{ T "wordCount" }} {{ $page.WordCount }}.

Does “reading time” render in your example? I don’t use string translations, but I haven’t seen them combined with other templates like that.

Thank you!

I still didn’t get it, but it solved the problem.