%html %head %meta{charset: 'utf-8'}/ %meta{name: 'viewport', content: "width=device-width,initial-scale=1.0"}/ %meta{property: "og:title", content: content_for?(:title) ? yield(:title) : t(:title)} %meta{property: "og:description", content: content_for?(:description) ? yield(:description) : t(:site_meta_description)} %meta{property: "og:image", content: content_for?(:image) ? yield(:image) : ContentConfig.logo.url} - if !Rails.env.production? || @noindex_meta_tag %meta{name: "robots", content: "noindex"} %title= content_for?(:title) ? "#{yield(:title)} - #{t(:title)}".html_safe : "#{t(:welcome_to)} #{t(:title)}" - if Rails.env.production? = favicon_link_tag - else = favicon_link_tag "/favicon-staging.ico" %link{href: "https://fonts.googleapis.com/css?family=Roboto:400,300italic,400italic,300,700,700italic|Oswald:300,400,700", rel: "stylesheet", type: "text/css"} %link{href: "/OFN-v2.woff?eslsji", rel: "preload", as: "font", crossorigin: "anonymous"} = stylesheet_link_tag "darkswarm/all" = csrf_meta_tags %body{class: body_classes, ng: {app: "Darkswarm"}} / [if lte IE 8] = render partial: "shared/ie_warning" = javascript_include_tag "iehack" = render "layouts/shopfront_script" if @shopfront_layout .off-canvas-wrap{offcanvas: true} .fixed.off-canvas-fixed = render "shared/menu/menu" unless @hide_menu = yield :page_alert .inner-wrap %section{ role: "main" } = yield #footer %loading %script{:src => "https://js.stripe.com/v3/", :type => "text/javascript"} %script{src: "//maps.googleapis.com/maps/api/js?libraries=places,geometry#{ ENV['GOOGLE_MAPS_API_KEY'] ? '&key=' + ENV['GOOGLE_MAPS_API_KEY'] : ''} "} = javascript_include_tag "darkswarm/all" = javascript_include_tag "web/all" = render "layouts/i18n_script" = yield :scripts = inject_current_hub = inject_current_user = inject_rails_flash = inject_taxons = inject_properties = inject_current_order = inject_currency_config = yield :injection_data = render "layouts/bugherd_script" = render "layouts/matomo_tag" = render 'spree/shared/google_analytics'