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:
authorAchilleas Pipinellis <axil@gitlab.com>2018-08-21 17:04:35 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2018-08-21 17:04:35 +0300
commitc59f21c1d11b005c9cde3a311f005c7c26c7609c (patch)
tree09a04400809846abc78258a7ef7205b26e78c298 /content/404.html
parentb95aa00f72b7ca8a48ece75ee21230fc8fe4a53f (diff)
Release 11.2
Diffstat (limited to 'content/404.html')
-rw-r--r--content/404.html3
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>