Sha256: 961f6f884526d287c4112d748f93d336ac56e2374a66c39d83c547dce8e6a9ca

Contents?: true

Size: 557 Bytes

Versions: 4

Compression:

Stored size: 557 Bytes

Contents

<% if params[:tag] %>
  <h2 class="blogit_header--page">
    <%= t(:showing_posts_tagged_with, scope: "blogit.posts", tag: params[:tag])  %>
  </h2>
<% end %>

<div class="blogit_posts_list">
  <% if @posts.any? %>
    <%= render partial: "blogit/posts/post",
      collection: @posts,
      spacer_template: "blog_post_spacer",
      locals: { 
        show_comments_count: (Blogit.configuration.include_comments == :active_records) 
      }  %>
  <% else %>

    <%= render partial: "blogit/posts/empty" %>

  <% end %>
</div>

<%= render "pagination" %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blogit-1.1.2 app/views/blogit/posts/index.html.erb
blogit-1.1.1 app/views/blogit/posts/index.html.erb
blogit-1.1.0 app/views/blogit/posts/index.html.erb
blogit-1.0.0 app/views/blogit/posts/index.html.erb