zeus.ugent.be/content/index.erb
2016-07-27 20:27:28 +02:00

16 lines
467 B
Text

<div class="tile is-vertical is-ancestor">
<div class="tile is-parent is-12">
<div class="tile is-child box">
<%= render '/partials/_tile.*', article: sorted_articles[0] %>
</div>
</div>
<div class="tile">
<% sorted_articles[1..-1].each do |article| %>
<div class="tile is-parent is-4">
<div class="tile is-child box">
<%= render '/partials/_tile.*', article: article %>
</div>
</div>
<% end %>
</div>
</div>