{% set children = (item.level == 1 ? item.group(group) : item.children) %}