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:
authorPhil Hughes <me@iamphill.com>2018-11-29 11:37:23 +0300
committerPhil Hughes <me@iamphill.com>2018-11-29 11:37:23 +0300
commit82bbf04bacdb0b042ea9b7f813851ebea185052c (patch)
tree7f4f5f8979b0842faf4040d59a6b5d5554c9d227 /layouts
parent28380670fe4783cf29345673e63b22ea35621f44 (diff)
Move scripts to end of body
Diffstat (limited to 'layouts')
-rw-r--r--layouts/default.html1
-rw-r--r--layouts/head.html1
2 files changed, 1 insertions, 1 deletions
diff --git a/layouts/default.html b/layouts/default.html
index 0eb1e6ee..48b1a824 100644
--- a/layouts/default.html
+++ b/layouts/default.html
@@ -67,6 +67,7 @@
<script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script>
<script type="application/javascript" src="<%= @items['/assets/javascripts/clipboardjs.*'].path %>"></script>
<script type="application/javascript" src="<%= @items['/assets/javascripts/badges.*'].path %>"></script>
+ <script async src="<%= @items['/assets/javascripts/docs.*'].path %>"></script>
<%= render '/docsearch.*' %>
<%= render '/https_redirect.*' %>
<% if ENV['NANOC_ENV'] == 'production' %>
diff --git a/layouts/head.html b/layouts/head.html
index e99be97c..7a0a3d57 100644
--- a/layouts/head.html
+++ b/layouts/head.html
@@ -34,7 +34,6 @@
<!-- End Google Tag Manager -->
<% end %>
<script async src="<%= @items['/assets/javascripts/classlist-polyfill.*'].path %>"></script>
-<script async src="<%= @items['/assets/javascripts/docs.*'].path %>"></script>
<!-- add cookie consent -->
<script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="36a06ac5-ddb4-4f91-8337-067ad19ad8d5" type="text/javascript" async></script>
<!-- you don't need to keep this, but it's cool for stats! -->