Sha256: b0294aa4334fcc3ddfcc45894f680918d81ab90f92a8d9f3aa4874dd3888ef76
Contents?: true
Size: 923 Bytes
Versions: 1
Compression:
Stored size: 923 Bytes
Contents
<% unless @page.images.empty? %> <%= render 'shared/slideshow', :images => @page.images, :size => :slide %> <% end %> <% if @page.has_context?('intro') %> <div class="intro"> <%= render 'shared/content', :content => @page.for_context('intro').first %> </div> <% end %> <div class="left"> <%= render :partial => 'shared/content', :collection => @page.for_context('main') %> </div> <div class="right"> <% if defined?(SpreeEssentialBlog) && !@posts.blank? %> <div class="home-posts"> <h1><%= t('blog.home.title') %></h1> <%= render :partial => 'blog/posts/preview', :collection => @posts, :as => :post %> </div> <% end %> <% if defined?(SpreeEssentialNews) && !@articles.blank? %> <div class="home-articles"> <h1><%= t('news.home.title') %></h1> <%= render :partial => 'news/articles/preview', :collection => @articles, :as => :article %> </div> <% end %> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_essential_cms-0.2.0 | app/views/pages/home.html.erb |