Open davenaylor opened 10 years ago
Try changing the call to _nx(
with _function('_nx
, like this:
{{ function('_nx', 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', comments|length, 'comments title', 'timberscores')|format(function('number_format_i18n', comments|length), '<span>' ~ post.title ~ '</span>') }}
I must have written that part while also adding those translation functions to timber... however it's an open issue, which you can follow here: https://github.com/jarednova/timber/pull/246
Single post view seems to fall over because of _nx in line 7 of comments.twig