diff options
author | Sarah German <sgerman@gitlab.com> | 2022-06-13 18:57:48 +0300 |
---|---|---|
committer | Sarah German <sgerman@gitlab.com> | 2022-06-13 18:57:48 +0300 |
commit | 89a3394cdfb8196294bd5765afd60b9e1070995a (patch) | |
tree | ea621c9ca878b351ce6aff5285202d0b7fb900bc /layouts/404.html | |
parent | faed2060118befaa2f236e473cc5d2ddec358106 (diff) |
Bundle DocSearch with yarn
Diffstat (limited to 'layouts/404.html')
-rw-r--r-- | layouts/404.html | 4 |
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.*' %> |