wezm.net/content/articles.html
Wesley Moore 762b56e401 Add a page item for JS pagination
Doing the archives this way removes the problem of loading page 1 then replacing it with page 2
2010-02-03 13:34:44 +11:00

5 lines
No EOL
130 B
HTML

<ul class="articles">
<% sorted_articles[0..9].each do |article| %>
<%= render 'article', :article => article %>
<% end %>
</ul>