I would like to render only part of the array in pug template. E.g. array = [1, 2, 3]. I want to render only 1, 2.
Is it possible to identify which items should be rendered?