<%= tag.meta name: "description", content: content_for?(:meta_description) ? yield(:meta_description) : (@node.present?? @node.page_description : "") %> <%= csrf_meta_tags %> <%= csp_meta_tag %> <%= stylesheet_link_tag "reset", "application" %> <%= frontend_javascript_importmap_tags %w[application @hotwired/turbo-rails @hotwired/stimulus language_menu_controller carousel_controller intro_controller chance_controller] %> <%= content_for :header %> <% if respond_to?(:current_player) && current_player %> <% end %> <%= tag.main class: [@result_node, @node].compact.map { |n| n.template }.first, data: { controller: content_for(:main_controller) } do %> <%= yield %> <% end %>