cryptcheck-rails/app/views/layouts/application.html.erb

18 lines
525 B
Plaintext
Raw Normal View History

2015-08-22 21:55:40 +00:00
<!DOCTYPE html>
2020-02-15 10:23:26 +00:00
<% data = Matomo.enabled? ? { matomo_url: Matomo.url, matomo_site: Matomo.site } : {} %>
<%= content_tag :html, data: data do %>
2015-08-22 21:55:40 +00:00
<head>
2016-08-13 16:12:47 +00:00
<title>CryptCheck</title>
2015-08-22 21:55:40 +00:00
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
<%= yield :head %>
</head>
<body>
2020-02-15 10:23:26 +00:00
<%= render partial: 'headers' %>
<%= render partial: 'flash' %>
<%= yield %>
<%= render partial: 'matomo', locals: { config: Matomo } if Matomo.enabled? %>
2015-08-22 21:55:40 +00:00
</body>
2020-02-15 10:23:26 +00:00
<% end %>