Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
howto-cards
Commits
71d9175e
Commit
71d9175e
authored
Feb 19, 2020
by
Jacek Lebioda
Browse files
feat: use location.replace to hide redirection from history
parent
517321f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
_layouts/redirect.html
0 → 100644
View file @
71d9175e
<!DOCTYPE html>
<html
lang=
"en-US"
>
<meta
charset=
"utf-8"
>
<title>
Redirecting
…
</title>
<link
rel=
"canonical"
href=
"{{ page.redirect.to }}"
>
<script>
document
.
location
.
replace
(
"
{{ page.redirect.to }}
"
);
</script>
<meta
http-equiv=
"refresh"
content=
"3; url={{ page.redirect.to }}"
>
<meta
name=
"robots"
content=
"noindex"
>
<h1>
Redirecting
…
</h1>
<a
href=
"{{ page.redirect.to }}"
>
Click here if you are not redirected.
</a>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment