<%= @page_title %>

<%= for {month, items} <- @timeline do %>
month}>

<%= month_name(month) <> ", " <> to_string(@year) %>

<%= for item = %{t: t} <- items do %>
<%= if t == :articles do %>

item["slug"]}> <%= item["title"] %>

<% end %> <%= if t == :events do %>

item["slug"]}> <%= item["title"] %>

<%= item["lead"] %>

item["poster"] <> "?key=poster"} loading="lazy" alt="Affisch" width="200" /> <% end %> <%= if t == :links do %>

<%= item["title"] %>

<%= raw(Earmark.as_html!(item["contents"])) %>

Källa: item["source"]}> <%= item["h1"] %> <% end %> <%= if t == :albums do %>

<%= item["artist"] <> " - " <> item["album"] <> " (" <> to_string(item["year"]) <> ")" %>

<%= if item["contents"] do %>

<%= raw(Earmark.as_html!(item["contents"])) %>

<% end %>
    <%= for song <- item["songs"] do %>
  • <%= song["artist"]["name"] <> " - " <> song["title"] %>
  • <% end %>
item["cover"] <> "?key=rectangular"} alt="Skivomslag" loading="lazy" height="75" width="75" /> <% end %>
<% end %>
<% end %>