zeus.ugent.be/content/index.erb
2016-08-23 20:21:02 +02:00

16 lines
459 B
Text

<div class="tile is-vertical is-ancestor">
<div class="tile is-parent is-12">
<div class="tile is-child">
<%= 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">
<%= render '/partials/_tile.*', article: article %>
</div>
</div>
<% end %>
</div>
</div>