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/default.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/default.html')
-rw-r--r-- | layouts/default.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/default.html b/layouts/default.html index c4e8463a..05fa7993 100644 --- a/layouts/default.html +++ b/layouts/default.html @@ -10,7 +10,7 @@ <%= render '/header.*' %> <div id="js-version-banner" <%= 'data-is-outdated' if show_version_banner? %> data-latest-version-url="<%= @item.identifier.without_ext + '.html' %>" data-archives-url="/archives/"></div> - <div class="wrapper <%= 'show-version-banner' if show_version_banner? %>"> + <div class="wrapper"> <div class="nav-wrapper active"> <aside id="global-nav" class="global-nav"> <% if ENV['CI_PROJECT_NAME'] == 'gitlab-docs' or ENV['CI_PROJECT_NAME'].nil? %> |