go-i18n has now added PluralCount to their API which Hugo uses in a backward compatible way (e.g. if the user passes in a number, e.g. .WordCount.)
If would, however, be nice if the user could pass in more complex objects and indicate plural some other way, e.g.:
{{ i18n "hello" $page $pluralCount }}
Or something ...
go-i18n has now added
PluralCountto their API which Hugo uses in a backward compatible way (e.g. if the user passes in a number, e.g..WordCount.)If would, however, be nice if the user could pass in more complex objects and indicate plural some other way, e.g.:
Or something ...