Commit 1ab1eb62 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Merge branch 'redirect-hashes' into 'develop'

feat: forward hash in redirection

See merge request !79
parents 0de65623 d2adbca0
Pipeline #21210 passed with stage
in 38 seconds
......@@ -3,7 +3,10 @@
<meta charset="utf-8">
<title>Redirecting&hellip;</title>
<link rel="canonical" href="{{ page.redirect.to }}">
<script>document.location.replace("{{ page.redirect.to }}");</script>
<script>
var URLtoRedirect = "{{ page.redirect.to }}" + document.location.hash;
document.location.replace(URLtoRedirect);
</script>
<meta http-equiv="refresh" content="3; url={{ page.redirect.to }}">
<meta name="robots" content="noindex">
<h1>Redirecting&hellip;</h1>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment