Got nested columns in your grid-based Jekyll site?
Wondered why you didn't have a way to calculate the modulo inside your posts loop to open and close your 'rows' containing those nested columns?
Add this filter to your _plugins
directory, and use it like so:
{{ x | mod:y }}