2012-10-08 11:51:56 +02:00
|
|
|
!!! 5
|
2013-02-05 12:11:29 +01:00
|
|
|
%html(lang='#{I18n.locale}')
|
2012-10-08 11:51:56 +02:00
|
|
|
%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")
|
2013-02-05 12:11:29 +01:00
|
|
|
%title= [t('layouts.foodsoft'), yield(:title)].join(" - ")
|
2012-10-08 11:51:56 +02:00
|
|
|
= csrf_meta_tags
|
|
|
|
= stylesheet_link_tag "application", :media => "all"
|
|
|
|
//%link(href="images/favicon.ico" rel="shortcut icon")
|
|
|
|
= yield(:head)
|
2014-08-22 12:06:35 +02:00
|
|
|
= foodcoop_css_tag
|
2012-10-08 11:51:56 +02:00
|
|
|
|
2023-01-27 12:27:42 +01:00
|
|
|
|
2012-10-08 11:51:56 +02:00
|
|
|
%body
|
|
|
|
= yield
|
|
|
|
|
|
|
|
/
|
|
|
|
Javascripts
|
|
|
|
\==================================================
|
|
|
|
/ Placed at the end of the document so the pages load faster
|
2023-01-27 12:27:42 +01:00
|
|
|
= javascript_importmap_tags
|
|
|
|
|
|
|
|
-# = javascript_include_tag "application"
|
|
|
|
|
|
|
|
-# :javascript
|
|
|
|
-# I18n.defaultLocale = "#{I18n.default_locale}";
|
|
|
|
-# I18n.locale = "#{I18n.locale}";
|
|
|
|
-# I18n.fallbacks = true;
|
|
|
|
-# = yield(:javascript)
|
2014-09-21 14:01:21 +02:00
|
|
|
= raw FoodsoftConfig[:webstats_tracking_code]
|