Skip to content

Commit

Permalink
feat: add instant redirect in index.astro
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitrrine authored Dec 20, 2024
1 parent 0073efc commit 235b26e
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
---
import Default from "../layouts/Default.astro"
---

<Default>
<h1 style="font-size: 1.2em;">You shouldn't really see this page.</h1>
</Default>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0;url=/en/" />
<title>Redirecting...</title>
</head>
<body>
<p>If you are not redirected automatically, follow this <a href="/en/">link</a>.</p>
</body>
</html>

0 comments on commit 235b26e

Please sign in to comment.