% if !Avo.configuration.turbo[:instant_click] %> <% end %> <%= display_meta_tags site: Avo.configuration.app_name, reverse: true, separator: "—" %> <%= csrf_meta_tags %> <%= csp_meta_tag %> <%= render partial: 'avo/partials/javascript' %> <%= render partial: 'avo/partials/branding' %> <%= render partial: 'avo/partials/pre_head' %> <%= render Avo::AssetManager::StylesheetComponent.new asset_manager: Avo.asset_manager %> <%= stylesheet_link_tag @stylesheet_assets_path, "data-turbo-track": "reload", defer: true %> <% if Avo::PACKED %> <%= javascript_include_tag "/avo-assets/avo.base", "data-turbo-track": "reload", defer: true %> <% else %> <%= javascript_include_tag "avo.base", "data-turbo-track": "reload", defer: true %> <% if Rails.env.development? %> <%= javascript_include_tag "hotwire-livereload", defer: true %> <% end %> <% end %> <%= render Avo::AssetManager::JavascriptComponent.new asset_manager: Avo.asset_manager %> <%= render partial: 'avo/partials/head' %> <%= turbo_refreshes_with method: :replace, scroll: :reset %> <%= content_for :head %>