{# Renders a flat list of item/plan checkpoints as expandable steps. Imported as a macro so it works inside the recursive render_section macro (a plain {% include %} would NOT see the macro's local `section.checkpoints`). #} {% macro checkpoint_steps(checkpoints) %} {% if checkpoints %} {% endif %} {% endmacro %}