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:
authorJacques Erasmus <jerasmus@gitlab.com>2020-10-23 15:40:08 +0300
committerJacques Erasmus <jerasmus@gitlab.com>2020-10-23 15:40:08 +0300
commitea37f4856ea7af2c5f888b3bea3a5487589d49a9 (patch)
tree2d6ad8c4d99e7e29f0f9e1b926a0fcabd631f72d /layouts/head.html
parentfdd1fc948cd47c6b130e78e00b6b9e8f4e1b39eb (diff)
Revert "Merge branch 'csp-headers' into 'master'"
This reverts merge request !1217
Diffstat (limited to 'layouts/head.html')
-rw-r--r--layouts/head.html13
1 files changed, 5 insertions, 8 deletions
diff --git a/layouts/head.html b/layouts/head.html
index bffb09fa..71871884 100644
--- a/layouts/head.html
+++ b/layouts/head.html
@@ -20,13 +20,6 @@
<% else %>
<meta name="docsearch:version" content="master" />
<% end %>
-
-<!-- Enable CSP headers -->
-<% unless ENV['DISABLE_CSP'] %>
-<%= render '/csp.*' %>
-<% end %>
-<!-- End of CSP headers -->
-
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/stylesheet.*'].path %>">
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/highlight.*'].path %>">
@@ -45,7 +38,11 @@
<script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="36a06ac5-ddb4-4f91-8337-067ad19ad8d5" type="text/javascript"></script>
<!-- Google Tag Manager -->
- <script src="<%= @items['/assets/javascripts/google_tagmanager.*'].path %>"></script>
+ <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
+ new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
+ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
+ 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
+ })(window,document,'script','dataLayer','GTM-WZCXKT5');</script>
<!-- End Google Tag Manager -->
<!-- Google webmasters verification -->