<% content_for :head do %> <% end %>
<%= if studytime? then render '/tiles/blokmap.*'end %>
<%= render '/partials/_tile.*', article: upcoming_events[0] || all_events[-1], small_text: if upcoming_events[0] then "Upcoming event" else "Past event" end%>
<%= render '/partials/_tile.*', article: sorted_articles.first, small_text: "Latest blogpost", htmlclass:"highlighted"%>
<%= render '/partials/_tile.*', article: upcoming_events[1] || all_events[-2], small_text: if upcoming_events[1] then "Upcoming event" else "Past event" end %>
<%= asset :js, :gamification %> <%= asset :js, :quote %>