We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c8e6ac commit 6294331Copy full SHA for 6294331
1 file changed
site/_layouts/redirect.html
@@ -0,0 +1,18 @@
1
+{% assign redirect = page.redirect | replace: "@@OTD_VERSION@@", site.latest_otd_version %}
2
+<html>
3
+ <head>
4
+ <style>
5
+ * { background: black; }
6
+ </style>
7
+ <meta charset="utf-8"/>
8
+ <meta http-equiv="refresh" content="1;url={{ redirect }}"/>
9
+ <link rel="canonical" href="{{ redirect }}"/>
10
+ <script type="text/javascript">
11
+ window.location.href = "{{ redirect }}"
12
+ </script>
13
+ <title>{{ page.title }} Page Redirection</title>
14
+ </head>
15
+ <body>
16
+ If you are not redirected automatically, follow <a href='{{ redirect }}'>this link</a>.
17
+ </body>
18
+</html>
0 commit comments