Don’t know anything about .Count
and that error message says that it cannot be evaluated in Hugo.
To get the posts count we use len
see the example at: https://gohugo.io/functions/len/#len-example-2-counting-pages-with-where
Don’t know anything about .Count
and that error message says that it cannot be evaluated in Hugo.
To get the posts count we use len
see the example at: https://gohugo.io/functions/len/#len-example-2-counting-pages-with-where