Skip to content

Commit 6294331

Browse files
committed
Revert "Remove now-unused redirect.html"
This reverts commit 63a247b.
1 parent 4c8e6ac commit 6294331

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

site/_layouts/redirect.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)