aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/_layouts
diff options
context:
space:
mode:
Diffstat (limited to 'site/_layouts')
-rw-r--r--site/_layouts/redirect.html4
-rw-r--r--site/_layouts/regular-redirect.html7
2 files changed, 2 insertions, 9 deletions
diff --git a/site/_layouts/redirect.html b/site/_layouts/redirect.html
index d2fb13ac48..2418143677 100644
--- a/site/_layouts/redirect.html
+++ b/site/_layouts/redirect.html
@@ -1,7 +1,7 @@
<html>
<head>
<script>
- window.location.replace("/versions/{{ site.default_version }}/{{ page.redirect }}" + window.location.hash);
+ window.location.replace("{{ page.redirect }}" + window.location.hash);
</script>
</head>
-</html>
+</html> \ No newline at end of file
diff --git a/site/_layouts/regular-redirect.html b/site/_layouts/regular-redirect.html
deleted file mode 100644
index 2418143677..0000000000
--- a/site/_layouts/regular-redirect.html
+++ /dev/null
@@ -1,7 +0,0 @@
-<html>
- <head>
- <script>
- window.location.replace("{{ page.redirect }}" + window.location.hash);
- </script>
- </head>
-</html> \ No newline at end of file