mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 02:28:50 +01:00
Add privacy page, include Matomo in production
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
<footer class="footer">
|
||||
<div class="container">
|
||||
<p class="text-muted text-center"><%= link_to t('application.copyright'), about_copyright_path %> | <%= t('application.bootstrap_html')%></p>
|
||||
<p class="text-muted text-center">
|
||||
<%= link_to t('application.legal'), about_legal_path %>
|
||||
| <%= link_to t('application.privacy'), about_privacy_path %>
|
||||
| <%= link_to t('application.copyright'), about_copyright_path %>
|
||||
| <%= t('application.bootstrap_html')%></p>
|
||||
</div>
|
||||
</footer>
|
||||
@@ -14,7 +14,6 @@
|
||||
<% end %>
|
||||
<% end %>
|
||||
<%= nav class: 'navbar-right' do %>
|
||||
<%= link_to t('application.legal'), about_legal_path %>
|
||||
<% if user_signed_in? %>
|
||||
<span class="navbar-text">Eingeloggt als <b>
|
||||
<%= current_user.name %>
|
||||
|
||||
@@ -6,6 +6,10 @@
|
||||
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
||||
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
||||
<%= javascript_include_tag 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_HTML-full,Safe', 'data-turbolinks-track' => true %>
|
||||
<% if Rails.env.production? %>
|
||||
<%=javascript_include_tag 'https://matomo.pfischbeck.de/matomo.js', async: true, defer:true %>
|
||||
<%= javascript_include_tag 'matomo', 'data-turbolinks-track' => true %>
|
||||
<% end %>
|
||||
<%= csrf_meta_tags %>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user