This commit is contained in:
@@ -2,8 +2,19 @@
|
||||
import { ClientRouter } from "astro:transitions";
|
||||
import NavigationBar from "../components/NavigationBar";
|
||||
import ScrollUpButton from "../components/ScrollUpButton";
|
||||
import { siteConfig } from "../config/data";
|
||||
const currentPath = Astro.url.pathname;
|
||||
import '../styles/global.css';
|
||||
|
||||
export interface Props {
|
||||
title?: string;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
const { title, description } = Astro.props;
|
||||
|
||||
const pageTitle = title ? `${title} | ${siteConfig.meta.title}` : siteConfig.meta.title;
|
||||
const pageDescription = description || siteConfig.meta.description;
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
@@ -13,7 +24,9 @@ import '../styles/global.css';
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<title>Atridad Lahiji</title>
|
||||
<meta name="description" content={pageDescription} />
|
||||
<meta name="author" content={siteConfig.meta.author} />
|
||||
<title>{pageTitle}</title>
|
||||
<ClientRouter />
|
||||
</head>
|
||||
<body class="flex flex-col min-h-screen">
|
||||
|
||||
Reference in New Issue
Block a user