Advertisement
Guest User

Untitled

a guest
Sep 30th, 2014
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. div.row > entry 1 + entry 2
  2. div.row > entry 3 + entry 4
  3. div.row > entry 5 + entry 6
  4.  
  5. {% for entry in craft.entries.find({section:'events' ,level: 2 }) %}
  6. <div class="row">
  7.  
  8. {% if loop.index0 is divisible by(2) %}
  9. (entry odd output here)
  10. {% endif %}
  11.  
  12. {% if loop.index0 is divisible by(2) %}
  13. (entry even output here)
  14. {% endif %}
  15.  
  16. </div>
  17. {% endfor %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement