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>2022-06-13 18:57:48 +0300
committerSarah German <sgerman@gitlab.com>2022-06-13 18:57:48 +0300
commit89a3394cdfb8196294bd5765afd60b9e1070995a (patch)
treeea621c9ca878b351ce6aff5285202d0b7fb900bc /layouts/404.html
parentfaed2060118befaa2f236e473cc5d2ddec358106 (diff)
Bundle DocSearch with yarn
Diffstat (limited to 'layouts/404.html')
-rw-r--r--layouts/404.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/404.html b/layouts/404.html
index 6a844008..eaf565d8 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -16,9 +16,9 @@
</div>
</div>
</section>
- <script src="/frontend/shared/global_imports.js"></script>
+ <script src="<%= @items['/frontend/shared/global_imports.*'].path %>"></script>
+ <script src="<%= @items['/frontend/search/docsearch.*'].path %>"></script>
<script src="<%= @items['/frontend/404/404.*'].path %>"></script>
- <%= render '/docsearch.*' %>
<% if production? %>
<%# Add analytics only in production %>
<%= render '/analytics.*' %>