Skip to content

Commit 37d3cf8

Browse files
committed
layouts/redirect_permanent: make page a little more well-formed
Signed-off-by: Ruby Iris Juric <ruby@srxl.me>
1 parent cd0068b commit 37d3cf8

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

source/_layouts/utils/redirect_permanent.html

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,21 @@
2727
{% capture redirect_url %}{{ page.redirect_to }}{% endcapture %}
2828
{% endif %}
2929

30-
<meta http-equiv="refresh" content="0; url={{ redirect_url }}">
31-
<link rel="canonical" href="{{ redirect_url }}" />
30+
<!doctype html>
31+
<html lang="en">
32+
<head>
33+
<meta charset="UTF-8">
34+
<meta http-equiv="refresh" content="0; url={{ redirect_url }}">
35+
<meta name="viewport" content="width=device-width, initial-scale=1">
36+
<link rel="canonical" href="{{ redirect_url }}" />
37+
<title>Redirecting to: {{ redirect_url }}</title>
38+
</head>
39+
<body>
40+
<p>
41+
Redirecting to {{ redirect_url }}...
42+
</p>
43+
<p>
44+
<a href="{{ redirect_url }}">Click here</a> if the page does not load.
45+
</p>
46+
</body>
47+
</html>

0 commit comments

Comments
 (0)