2016-07-23 22:06:06 +02:00
|
|
|
<% posts_in_year(item[:academic_year]).each do |post| %>
|
2016-08-01 21:37:26 +02:00
|
|
|
<a class="archive_list_ref" href="<%= relative_path_to(post) %>">
|
|
|
|
<div class= "archive_list_item">
|
2016-07-23 22:06:06 +02:00
|
|
|
<%= post[:title] %>
|
|
|
|
</div>
|
2016-08-01 21:37:26 +02:00
|
|
|
<div class="archive_list_item">
|
|
|
|
<%= excerptize(post.reps[:text].compiled_content, length: 50) %>
|
2016-07-23 22:06:06 +02:00
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
<% end %>
|