How can I condense (remove empty spaces from) my *for* loop?

And there’s Jinja whitespace control. End each line with -%} instead of %}; similarly -}} instead of }}. That’ll remove the newline that line would otherwise generate.

2 Likes