zeus.ugent.be/layouts/archive_page.erb
2016-07-23 22:06:06 +02:00

11 lines
310 B
Plaintext

<% posts_in_year(item[:academic_year]).each do |post| %>
<a href="<%= relative_path_to(post) %>">
<div class="tipue_search_content_title">
<%= post[:title] %>
</div>
<div class="tipue_search_content_text">
<%= excerptize(post.reps[:text].compiled_content, length: 200) %>
</div>
</a>
<% end %>