Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarah German <sgerman@gitlab.com>2023-06-01 16:45:27 +0300
committerSarah German <sgerman@gitlab.com>2023-06-01 16:45:27 +0300
commit0f498c6a942561b4625512a132f35a0f550bf72e (patch)
tree9763f577a0c26d36a5694547706bcc15b41fbc87 /layouts/404.html
parent5c8218d0466d4de465207cce5978408b79d3e624 (diff)
parent1e13a21da7183b1ae8dc92d2beeaad99935b4948 (diff)
Merge branch 'cherry-pick-69942af7-3' into '15.8'15.8
Load the analytics only in the main site (15.8 backport) See merge request https://gitlab.com/gitlab-org/gitlab-docs/-/merge_requests/3903 Merged-by: Sarah German <sgerman@gitlab.com> Approved-by: Sarah German <sgerman@gitlab.com>
Diffstat (limited to 'layouts/404.html')
-rw-r--r--layouts/404.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/layouts/404.html b/layouts/404.html
index f638d150..73677a4b 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -17,9 +17,7 @@
</section>
<script src="<%= @items['/frontend/shared/global_imports.*'].path %>"></script>
- <% if production? %>
<%# Add analytics only in production %>
- <%= render '/analytics.*' %>
- <% end %>
+ <%= render '/analytics.*' %>
</body>
</html>