- page.page_blocks.order(:order).each do |block| %h2 = block.name unless block.name.blank? - block.thumbnails.each do |thumb| %div.thumbnail.col-md-4.col-sm-6 - if thumb.image = image_tag thumb.image.file - else = image_tag '/images/1434315758_my_name.jpg' %h4 = link_to raw(thumb.content_rendered), thumb.link - block.jumbotrons.each do |jumbo| %div.jumbotron %p = raw jumbo.content_rendered = link_to PagesCms::Page.find_by_slug(jumbo.link).title, slugged_path(jumbo.link), class: 'btn btn-primary' - block.text_boxes.each do |box| %p = raw box.content_rendered