lib/almanack/themes/starter/views/events.erb
<% title 'Upcoming events' %>
<div class="events">
<% calendar.events.each do |event| %>
<div class="event">
<div class="date">
<div class="month"><%= event.start_time.strftime('%a') %></div>
<div class="day"><%= event.start_time.strftime('%d') %></div>
</div>
<div class="details">
<h3 class="title"><%= event.title %></h3>
<% if event.description %>
<div class="description">
<%= event.description %>
</div>
<% end %>
<dl>
<% if event.location %>
<dt>Where</dt>
<dd><%= event.location %></dd>
<% end %>
<dt>When</dt>
<dd><%= event.formatted_duration %></dd>
</dl>
</div>
</div>
<% end %>
</div>