diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2018-08-21 17:04:35 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2018-08-21 17:04:35 +0300 |
commit | c59f21c1d11b005c9cde3a311f005c7c26c7609c (patch) | |
tree | 09a04400809846abc78258a7ef7205b26e78c298 /content/404.html | |
parent | b95aa00f72b7ca8a48ece75ee21230fc8fe4a53f (diff) |
Release 11.2
Diffstat (limited to 'content/404.html')
-rw-r--r-- | content/404.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/404.html b/content/404.html index 7a9c0cdb..5ca171cb 100644 --- a/content/404.html +++ b/content/404.html @@ -51,7 +51,8 @@ title: 404 not found I say you! <% if ENV['NANOC_ENV'] == 'production' %> <script type="text/javascript"> // Redirect to /archives on a non-existing versions - if (/10.3|10.4|10.5|10.6|10.7/.test(window.location.href)) { + // Place here all offline versions as seen inside content/_data/versions.yaml + if (/10.3|10.4|10.5|10.6|10.7|10.8/.test(window.location.href)) { window.location.replace("https://docs.gitlab.com/archives"); } </script> |