Fix redirects again I hope
This commit is contained in:
parent
edfdfb794a
commit
7cfbaf609f
|
@ -1,10 +1,11 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
{% assign target = {{ page.redirect.to | remove: '.html' | replace: 'cheatsheets/cheatsheets', 'cheatsheets' %}
|
||||||
<html lang="en-US">
|
<html lang="en-US">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Redirecting…</title>
|
<title>Redirecting…</title>
|
||||||
<link rel="canonical" href="{{ page.redirect.to | remove: '.html' }}">
|
<link rel="canonical" href="{{ target }}">
|
||||||
<meta http-equiv="refresh" content="0; url={{ page.redirect.to | remove: '.html' }}">
|
<meta http-equiv="refresh" content="0; url={{ target }}">
|
||||||
<h1>Redirecting...</h1>
|
<h1>Redirecting...</h1>
|
||||||
<a href="{{ page.redirect.to | remove: '.html' }}">Click here if you are not redirected.</a>
|
<a href="{{ target }}">Click here if you are not redirected.</a>
|
||||||
<script>location="{{ page.redirect.to | remove: '.html' }}"</script>
|
<script>location="{{ target }}"</script>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue