app/views/layouts/tramway/landing/application.html.haml in tramway-landing-1.2.20 vs app/views/layouts/tramway/landing/application.html.haml in tramway-landing-1.3

- old
+ new

@@ -21,10 +21,10 @@ - headers = @blocks.select { |block| block.model.block_type.header? } - footers = @blocks.select { |block| block.model.block_type.footer? } - other_blocks = @blocks - headers - footers -# FIXME = render "tramway/landing/blocks/block_types/header", block: headers.first - %main{ class: ('mt-5' if @blocks&.any?) } + %main.mt-5 .container - other_blocks.each_with_index do |block, index| = render "tramway/landing/blocks/block_types/#{block.model.block_type}", block: block - if index < other_blocks.count - 1 %hr