foodsoft/app/views/layouts/_header.html.haml
Philipp Rothmann e2e91ae33b
Some checks failed
continuous-integration/drone/push Build is failing
comment out yield javascript for debugging
should be readded later again and might require this fix to load inline
javascript only after the modules are already loaded: https://stackoverflow.com/questions/71876873/rails-7-7-0-2-3-importmap-jquery-is-not-defined-in-view
2023-01-27 12:27:45 +01:00

31 lines
930 B
Text

!!! 5
%html(lang='#{I18n.locale}')
%head
%meta(charset="utf-8")
%meta(http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1")
%meta(name="viewport" content="width=device-width, initial-scale=1.0")
%title= [t('layouts.foodsoft'), yield(:title)].join(" - ")
= csrf_meta_tags
= stylesheet_link_tag "application", :media => "all"
//%link(href="images/favicon.ico" rel="shortcut icon")
= yield(:head)
= foodcoop_css_tag
%body
= yield
/
Javascripts
\==================================================
/ Placed at the end of the document so the pages load faster
= 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]