diff --git a/app/views/layouts/_header.html.haml b/app/views/layouts/_header.html.haml index 207850d0..a842d713 100644 --- a/app/views/layouts/_header.html.haml +++ b/app/views/layouts/_header.html.haml @@ -8,10 +8,10 @@ = csrf_meta_tags = stylesheet_link_tag "application", :media => "all" //%link(href="images/favicon.ico" rel="shortcut icon") - = javascript_importmap_tags = yield(:head) = foodcoop_css_tag + %body = yield @@ -19,10 +19,13 @@ Javascripts \================================================== / Placed at the end of the document so the pages load faster - = javascript_include_tag "application" - :javascript - I18n.defaultLocale = "#{I18n.default_locale}"; - I18n.locale = "#{I18n.locale}"; - I18n.fallbacks = true; - = yield(:javascript) + = javascript_importmap_tags + + -# = javascript_include_tag "application" + + -# :javascript + -# I18n.defaultLocale = "#{I18n.default_locale}"; + -# I18n.locale = "#{I18n.locale}"; + -# I18n.fallbacks = true; + -# = yield(:javascript) = raw FoodsoftConfig[:webstats_tracking_code]