Skip to content

Commit

Permalink
add redirect layout
Browse files Browse the repository at this point in the history
  • Loading branch information
emhl committed Dec 30, 2023
1 parent 469b7a6 commit 677ea00
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions _layouts/redirect.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<link rel="canonical" href="{{ page.redirect_to }}"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="0;url={{ page.redirect_to }}" />
</head>
<body>
<h1>Redirecting...</h1>
<a href="{{ page.redirect_to }}">Click here if you are not redirected.<a>
<script>location='{{ page.redirect_to }}'</script>
</body>
</html>

0 comments on commit 677ea00

Please sign in to comment.