Added redirects

This commit is contained in:
Michael
2024-10-16 07:30:39 +00:00
parent bf91b37f81
commit 4a776d6a4b
8 changed files with 65 additions and 4 deletions
+3 -2
View File
@@ -7,15 +7,16 @@ import { SITE } from "@consts";
type Props = {
title: string;
description: string;
redirect?: string;
};
const { title, description } = Astro.props;
const { title, description, redirect } = Astro.props;
---
<!doctype html>
<html lang="en">
<head>
<Head title={`${title} | ${SITE.NAME}`} description={description} />
<Head title={`${title} | ${SITE.NAME}`} description={description} redirect={redirect}/>
</head>
<body>
<Header />