]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/site.html.erb
Merge remote-tracking branch 'upstream/pull/5408'
[rails.git] / app / views / layouts / site.html.erb
1 <!DOCTYPE html>
2 <%= tag.html :lang => I18n.locale,
3              :dir => dir,
4              :data => { :bs_theme => (preferred_color_scheme(:site) if preferred_color_scheme(:site) != "auto") } do %>
5   <%= render :partial => "layouts/head" %>
6   <%= tag.body :class => body_class,
7                :data => { :map_theme => (preferred_color_scheme(:map) if preferred_color_scheme(:map) != "auto") } do %>
8     <%= render :partial => "layouts/header" %>
9     <%= render :partial => "layouts/content" %>
10     <% if defined?(Settings.matomo) -%>
11     <noscript><p><img src="<%= request.protocol %><%= Settings.matomo["location"] %>/matomo.php?idsite=<%= Settings.matomo["site"] %>" class="matomo" alt="" /></p></noscript>
12     <% end -%>
13   <% end %>
14 <% end %>