<% data = Matomo.enabled? ? { matomo_url: Matomo.url, matomo_site: Matomo.site } : {} %> <%= content_tag :html, data: data do %> CryptCheck <%= stylesheet_link_tag 'application', media: 'all' %> <%= javascript_include_tag 'application' %> <%= csrf_meta_tags %> <%= yield :head %> <%= render partial: 'headers' %> <%= render partial: 'flash' %> <%= yield %> <%= render partial: 'matomo', locals: { config: Matomo } if Matomo.enabled? %> <% end %>