aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/pages/home.html.erb
blob: 66cd6b79a780972081f216a3c80f89846f762b63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<% content_for :body do %>
  <%= raw @page.content_for(Refinery::Pages.default_parts.first.to_sym) if Refinery::Pages.default_parts.any? %>

  <% if @posts.any? %>
    <section id="blog_posts">
      <%= render :partial => "/refinery/blog/shared/post", :collection => @posts %>
      <%= will_paginate @posts %>
    </section>
  <% else %>
    <p><%= t('.no_blog_articles_yet') %></p>
  <% end %>
<% end %>

<%= render "/refinery/content_page",
           :hide_sections => [:side_body, :body_content_right]
           %>

<% content_for :stylesheets, stylesheet_link_tag('refinery/blog/frontend') %>