2016-09-22 21:13:46 +02:00
|
|
|
<div class="columns" >
|
|
|
|
<div class="column">
|
|
|
|
<% posts_in_year(item[:academic_year]).each do |post| %>
|
|
|
|
<a href="<%= relative_path_to(post) %>" >
|
|
|
|
<div class="box padbox">
|
|
|
|
<article class="media">
|
|
|
|
<div class="media-content">
|
|
|
|
<div class="content">
|
2016-10-04 22:04:34 +02:00
|
|
|
<h2><%= post[:title] %> <small> <%= post[:created_at] %></small></h2>
|
|
|
|
<%= post[:description] %>
|
2016-09-22 21:13:46 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</article>
|
2016-08-02 18:31:40 +02:00
|
|
|
</div>
|
2016-09-22 21:13:46 +02:00
|
|
|
</a>
|
|
|
|
<% end %>
|
2016-07-23 22:06:06 +02:00
|
|
|
</div>
|
2016-09-22 21:13:46 +02:00
|
|
|
<div class="column is-narrow">
|
|
|
|
<ul class = "archive_list">
|
|
|
|
<% academic_years_items.each do |year, item| %>
|
|
|
|
<li class="bolder">
|
2016-10-04 22:04:34 +02:00
|
|
|
<%= link_to_unless_current pretty_year(year), item %>
|
2016-09-22 21:13:46 +02:00
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|