Twig-extensions. While loop. Split 'tests' into part: 'condition' and 'body' (https://github.com/fabpot/Twig-extensions/pull/88#discussion_r5187566)