aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/blog/posts/tagged.html.erb
blob: ed3110796ae4fa3c7c9efc4ccd8896732eaf5dbc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<% content_for :title, "#{t('.posts_tagged')} '#{@tag_name.titleize}'"  %>

<% content_for :body_content_title, "#{t('.posts_tagged')} &#8220;#{@tag_name.titleize}&#8221;".html_safe -%>

<% content_for :body do %>
  <% 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') %>