diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2023-05-31 16:46:27 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2023-05-31 16:46:27 +0300 |
commit | 6ce917e2adb8e93f991d6dc67b005b5a556721e4 (patch) | |
tree | d52e45a34f7ddbe2322aba3cce6e4c56262d067b /layouts/default.html | |
parent | 451fc615cdaa7273431e9e8d7e9dbc198b728657 (diff) |
Load the analytics only in the main site
Diffstat (limited to 'layouts/default.html')
-rw-r--r-- | layouts/default.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/layouts/default.html b/layouts/default.html index 521fcbdb..b4c23ec1 100644 --- a/layouts/default.html +++ b/layouts/default.html @@ -88,10 +88,8 @@ <script src="<%= @items['/assets/javascripts/mermaid.*'].path %>"></script> <% end %> - <% if production? %> <%# Add analytics only in production %> - <%= render '/analytics.*' %> - <% end %> + <%= render '/analytics.*' %> <% if @item.identifier.to_s == '/ee/update/deprecations.md' %> <script src="<%= @items['/frontend/deprecations/deprecations.*'].path %>"></script> <% end %> |