martenframework / marten

The pragmatic web framework.
https://martenframework.com
MIT License
396 stars 21 forks source link

Add `loop.even?` and `loop.odd?` to `{% for ... %}` #188

Closed notramo closed 4 months ago

notramo commented 4 months ago

This is useful for e.g. adding classes to table rows for zebra stripe coloring.