There is a bug in category view. You cannot increment a counter inside a loop due to jinja scoping rules. I understand this did not used to be the case. You need to {% set i = loop.index-1 %} at the start of each loop as {% set i =i+1 %} at the end does not work.
There is a bug in category view. You cannot increment a counter inside a loop due to jinja scoping rules. I understand this did not used to be the case. You need to {% set i = loop.index-1 %} at the start of each loop as {% set i =i+1 %} at the end does not work.