Commit 296a0a0
committed
[Templating] Fix odd/even cycle
As i now starts at 1 and cycle() uses the modulo operator, the second list
item is used for the first element. This means odd/even have to be
switched.
See http://twigfiddle.com/8amvok1 parent bbef239 commit 296a0a0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
0 commit comments