<% @announcements.each_with_index do |announcement, index| %>
<% if index != 0 %>
<% end %>
<%= link_to announcements_path(anchor: dom_id(announcement)) do %>
<%= announcement.published_at.strftime("%b %d") %>
<% end %>
<%= announcement.announcement_type.titleize %>:
<%= announcement.name %>
<%= simple_format announcement.description %>
<% end %>
<% if @announcements.empty? %>
Exciting stuff coming very soon!
<% end %>