diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-11-08 02:55:30 +0300 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-11-08 02:55:30 +0300 |
commit | 32c2ba8c8df7e1fdb67a6193c19f1c1aeb80163a (patch) | |
tree | 61bf20ab031a9c0c5f10fc066e89a741d23e8860 /layouts/redirect.html | |
parent | 2d8751b32639717937c18a495c8c156abd919a83 (diff) |
Redirects now actually work like redirects.
Diffstat (limited to 'layouts/redirect.html')
-rw-r--r-- | layouts/redirect.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/redirect.html b/layouts/redirect.html new file mode 100644 index 00000000..a66e73fb --- /dev/null +++ b/layouts/redirect.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"> + <title>Redirecting...</title> + <link rel="canonical" href="<%= @item[:redirect] %>"> + <meta http-equiv="refresh" content="0; url=<%= @item[:redirect] %>"> + </head> + <body> + <h1>Redirecting...</h1> + <a href="<%= @item[:redirect] %>">Click here if you are not redirected.</a> + <script>location='<%= @item[:redirect] %>'</script> + </body> +</html> |