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-11-16 22:13:55 +0300
committerSuzanne Selhorn <sselhorn@gitlab.com>2022-11-16 22:13:55 +0300
commite2df3ea934a40975c980ae7ff79b309a9ca6d429 (patch)
treeb998d90dbda4e7361bd3faef28106ef825080669 /layouts
parentcf652ffead0f69d8b3e71ec42acb6334ad0f44c8 (diff)
Update 404 page copy and styles
Diffstat (limited to 'layouts')
-rw-r--r--layouts/404.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/404.html b/layouts/404.html
index eaf565d8..fc54df78 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -4,7 +4,6 @@
<%= render '/head.*' %>
<meta name="robots" content="noindex">
<link rel="canonical" href="<%= @config[:base_url] %>/404.html">
- <link rel="stylesheet" href="<%= @items['/assets/stylesheets/404.*'].path %>">
</head>
<body>
<%= render '/header.*' %>
@@ -17,8 +16,11 @@
</div>
</section>
<script src="<%= @items['/frontend/shared/global_imports.*'].path %>"></script>
+
+ <% if @config[:algolia] == "true" %>
<script src="<%= @items['/frontend/search/docsearch.*'].path %>"></script>
- <script src="<%= @items['/frontend/404/404.*'].path %>"></script>
+ <% end %>
+
<% if production? %>
<%# Add analytics only in production %>
<%= render '/analytics.*' %>