tramway-landing/app/views/tramway/landing/blocks/block_types/_header.html.haml
= javascript_include_tag 'tramway/landing/smooth-scroll'
= render 'tramway/landing/templates/full_page', block: OpenStruct.new(title: block_title(block), tagline: block_tagline(block), background: block.background), buttons: @links&.select { |link| !link.is_a? Hash }
%script
var scroll = new SmoothScroll('a[href*="#"]');