<% @page.sections&.each_with_index do |section, index| next if section.nil? %> <%= render_section(section, index) %> <% end %>