diff options
author | Sarah German <sgerman@gitlab.com> | 2022-11-16 22:13:55 +0300 |
---|---|---|
committer | Suzanne Selhorn <sselhorn@gitlab.com> | 2022-11-16 22:13:55 +0300 |
commit | e2df3ea934a40975c980ae7ff79b309a9ca6d429 (patch) | |
tree | b998d90dbda4e7361bd3faef28106ef825080669 /layouts | |
parent | cf652ffead0f69d8b3e71ec42acb6334ad0f44c8 (diff) |
Update 404 page copy and styles
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/404.html | 6 |
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.*' %> |