diff options
author | Jacques Erasmus <jerasmus@gitlab.com> | 2020-01-31 09:18:33 +0300 |
---|---|---|
committer | Jacques Erasmus <jerasmus@gitlab.com> | 2020-01-31 09:18:33 +0300 |
commit | 8fdfc355aca320ccb6faf187fc484ee0b953efc4 (patch) | |
tree | 5160c8fde84ab68d07636941b976674c55bb790e /layouts/404.html | |
parent | 8c375387971976ac7e82cc2f661e21f154bb31df (diff) |
Redirect to archives when version is offline
Redirects to the archives page when the current version is offline
Diffstat (limited to 'layouts/404.html')
-rw-r--r-- | layouts/404.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/404.html b/layouts/404.html index e3f69414..b437fbf1 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -18,6 +18,7 @@ <script type="application/javascript" src="<%= @items['/assets/javascripts/badges.*'].path %>"></script> <%= render '/docsearch.*' %> <script type="application/javascript" src="<%= @items['/assets/javascripts/404.*'].path %>"></script> + <script src="<%= @items['/frontend/bundles/404.*'].path %>"></script> <% if ENV['NANOC_ENV'] == 'production' %> <%# Add analytics only in production %> <%= render '/analytics.*' %> |