<%= for child <- @children do %>
<%= if child.type in [:headline, :subheadline, :cta] do %>
{render_child(child, assigns)}
<% end %>
<% end %>
<%= for child <- @children do %>
<%= if child.type == :image do %>
{render_child(child, assigns)}
<% end %>
<% end %>