mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-10 01:42:32 +00:00
762b56e401
Doing the archives this way removes the problem of loading page 1 then replacing it with page 2
5 lines
No EOL
130 B
HTML
5 lines
No EOL
130 B
HTML
<ul class="articles">
|
|
<% sorted_articles[0..9].each do |article| %>
|
|
<%= render 'article', :article => article %>
|
|
<% end %>
|
|
</ul> |