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:
authorEvan Read <eread@gitlab.com>2019-06-26 14:30:13 +0300
committerMarcia Ramos <marcia@gitlab.com>2019-06-26 14:30:13 +0300
commit4c1b263ec670cea5b6fe5efceb63ae49120d905e (patch)
tree0e9efe29988b97465d898c6088ad18e92ea7ec0a /layouts/head.html
parentb4c532e2a3bd05316381ac914c175df66a9ecb68 (diff)
Add integrity attribute to scripts and stylesheet tags
Diffstat (limited to 'layouts/head.html')
-rw-r--r--layouts/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/head.html b/layouts/head.html
index ed07e05a..4b085a82 100644
--- a/layouts/head.html
+++ b/layouts/head.html
@@ -13,7 +13,7 @@
<% if @item[:noindex] %>
<meta name="robots" content="noindex nofollow">
<% end %>
-<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
+<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/stylesheet.*'].path %>">
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/highlight.*'].path %>">
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/footer.*'].path %>">