%= csrf_meta_tags %>
<%= [title, Trestle.config.site_title].join(' :: ') %>
<%= favicon_link_tag Trestle.config.favicon if Trestle.config.favicon %> <%= stylesheet_link_tag "trestle/admin", 'data-turbo-track': 'reload' %> <%= stylesheet_link_tag "trestle/icons/font-awesome", 'data-turbo-track': 'reload' if defined?(Sprockets) %> <%= stylesheet_link_tag "trestle/custom", 'data-turbo-track': 'reload' %> <%= hook :stylesheets %> <%= javascript_include_tag "trestle/admin", 'data-turbo-track': 'reload' %> <%= javascript_include_tag "trestle/custom", 'data-turbo-track': 'reload' %> <%= render "trestle/i18n" unless I18n.locale == :en %> <%= hook :javascripts %> <%= render "trestle/theme" %> <%= content_for(:head) %> <%= hook :head %> <%= tag.body(**body_attributes) do %>
<%= render "trestle/shared/sidebar" %>
<%= render "trestle/shared/header" %>
<%= yield %>
<%= render "trestle/shared/footer" %>
<% end %>