Split archive in past and future list
This commit is contained in:
parent
b68b3c9a62
commit
ff16ff78a0
3 changed files with 6 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<%= render 'pager', :linkprev => @linkprev, :linknext => @linknext %>
|
||||
<div class="row">
|
||||
<section itemscope itemtype="http://schema.org/Blog">
|
||||
<% @item[:archiveitems].each do |item| %>
|
||||
<% (@item[:futureitems] + @item[:pastitems]).each do |item| %>
|
||||
<div class="span8">
|
||||
<%= render 'item_intro', :item => item, :extended => true %>
|
||||
<p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue