language-server-protocol/_layouts/redirect.html
Vladimir Piskarev 7b4ee2073b
Customize the redirect template (#1506)
Fixes #1505

Customize the redirect.html template to perform a client side
javascript redirect that reads the window.location.hash and appends it
to the destination URL, before redirecting.

See https://github.com/jekyll/jekyll-redirect-from/issues/219
2022-06-27 15:05:06 +02:00

11 lines
455 B
HTML

<!DOCTYPE html>
<html lang="en-US">
<meta charset="utf-8">
<title>Redirecting&hellip;</title>
<link rel="canonical" href="{{ page.redirect.to }}">
<script>location="{{ page.redirect.to }}".concat(location.hash)</script>
<meta http-equiv="refresh" content="0; url={{ page.redirect.to }}">
<meta name="robots" content="noindex">
<h1>Redirecting&hellip;</h1>
<a href="{{ page.redirect.to }}">Click here if you are not redirected.</a>
</html>