Repeating content generation with haml.
%div#portfolio-wrap
%div#portfolio-tile-controls
%a.prev <
%a.next >
%div#portfolio-tiles
- figure = (0...40)
- figure.each do |figure|
%figure
%a.jackbox{ :href => '/portfolio/test-item/', :data => { 'group' => 'iframe', 'width' => '1140', 'height' => '1140', 'title' => 'Amelia Island – Southern Beauty' } }
%img{ :src => 'wp-content/themes/paradise/library/images/placeholder.gif', :title => '', :alt => '' }
%figcaption
%h3 Project Title