diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2023-06-02 13:24:56 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2023-06-02 13:24:56 +0300 |
commit | b5a247ea600be9835e7e2923222b3c3303de0c90 (patch) | |
tree | 91baf96ebd3aa9514480b224145b29f4cb899d06 /layouts/404.html | |
parent | 716635c93d4e06eb8093c30ba0cbd68f1204d62c (diff) | |
parent | f42d0905f41d5b5362fdd968255d15199699df1c (diff) |
Merge branch 'cherry-pick-69942af7-14.10' into '14.10'14.10
Load the analytics only in the main site (14.10 backport)
See merge request https://gitlab.com/gitlab-org/gitlab-docs/-/merge_requests/3912
Merged-by: Achilleas Pipinellis <axil@gitlab.com>
Co-authored-by: Sarah German <sgerman@gitlab.com>
Diffstat (limited to 'layouts/404.html')
-rw-r--r-- | layouts/404.html | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/layouts/404.html b/layouts/404.html index 525641a4..65a37734 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -13,16 +13,14 @@ <div class="col-12"> <%= yield %> <%= render '/footer.*' %> + </div> </div> - </div> - </section> + </section> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.bundle.min.js" integrity="sha384-LtrjvnR4Twt/qOuYxE721u19sVFLVSA4hf/rRt6PrZTmiPltdZcI7q7PXQBYTKyf" crossorigin="anonymous"></script> <script src="<%= @items['/frontend/404/404.*'].path %>"></script> <%= render '/docsearch.*' %> - <% if production? %> <%# Add analytics only in production %> - <%= render '/analytics.*' %> - <% end %> + <%= render '/analytics.*' %> </body> </html> |