[Answer]-Cycle template tag only works with fixed number of arguments

1👍

I don’t understand why you’re trying to use cycle for only one thing. That doesn’t make sense.

If you want to set a class for the first element only, use {% if forloop.first %}.

Leave a comment