Sha256: f843a327b98ecb26b35c5a65fbe9416c0fe922b2a334435b38b1c443e90896eb

Contents?: true

Size: 704 Bytes

Versions: 7

Compression:

Stored size: 704 Bytes

Contents

<% set_meta_tags  title: @title,
                  description: @description,
                  canonical: "http://#{ @domain }#{ posts_index_path }",
                  open_graph: { type: 'blog',
                                title: @title,
                                description: @description,
                                url: "http://#{ @domain }#{ posts_index_path }" } %>

<% @posts.each do |p| %>
  <%= render partial: 'post', locals: { post: p } %>
<% end %>

<nav class='pagination'>
  <div class='container'>
    <%= link_to_previous_page @posts, 'Newer Posts', params: @kaminari_params %>
    <%= link_to_next_page @posts, 'Older Posts', params: @kaminari_params  %>
  </div>
</nav>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
character-1.0.6 app/views/posts/index.html.erb
character-1.0.5 app/views/posts/index.html.erb
character-1.0.4 app/views/posts/index.html.erb
character-1.0.3 app/views/posts/index.html.erb
character-1.0.2 app/views/posts/index.html.erb
character-1.0.1 app/views/posts/index.html.erb
character-1.0.0 app/views/posts/index.html.erb