Sha256: 02c5d8e1dab8c1155a313bbeaccb6d0588ef14c145bfe1349b789e84e5819199

Contents?: true

Size: 555 Bytes

Versions: 9

Compression:

Stored size: 555 Bytes

Contents

<% content_for :head, auto_discovery_link_tag(:atom, articles_url(format: "atom")) %>

<div class="rss">
    <%= link_to image_tag("feed-icon-28x28.png"), articles_url(format: "atom") %>
</div>

<div id="articles">
  <%= render partial: 'article', locals: { article: @first_article, article_counter: -1 } unless @first_article.nil? %>
  <%= render partial: "article_collection", collection: @articles %>
</div>

<% if @articles.num_pages > 1 %>
<div id="pagination">
  <%= paginate @articles, outer_window: 1, window: 2, theme: 'lines' %>
</div>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
lines-engine-0.4.5 app/views/lines/articles/index.html.erb
lines-engine-0.4.4 app/views/lines/articles/index.html.erb
lines-engine-0.4.2 app/views/lines/articles/index.html.erb
lines-engine-0.4.1 app/views/lines/articles/index.html.erb
lines-engine-0.4 app/views/lines/articles/index.html.erb
lines-engine-0.3.3.2 app/views/lines/articles/index.html.erb
lines-engine-0.3.3.1 app/views/lines/articles/index.html.erb
lines-engine-0.3.3 app/views/lines/articles/index.html.erb
lines-engine-0.3.2 app/views/lines/articles/index.html.erb