Sha256: 4bf182a66c280266ed454dec2ea1d3798f985b1af095ff5c759e37501c8f01bb

Contents?: true

Size: 846 Bytes

Versions: 7

Compression:

Stored size: 846 Bytes

Contents

<% set_meta_tags  title: "#{ @author.name } | #{ @title }",
                  description: @description, # use same description as website
                  canonical: "http://#{ @domain }#{ posts_author_path(@author) }",
                  open_graph: { type: 'blog',
                                title: "#{ @author.name } | #{ @title }",
                                description: @description, # use same description as website
                                url: "http://#{ @domain }#{ posts_author_path(@author) }" } %>

<% @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/author.html.erb
character-1.0.5 app/views/posts/author.html.erb
character-1.0.4 app/views/posts/author.html.erb
character-1.0.3 app/views/posts/author.html.erb
character-1.0.2 app/views/posts/author.html.erb
character-1.0.1 app/views/posts/author.html.erb
character-1.0.0 app/views/posts/author.html.erb