layouts/Page : gestion du titre

This commit is contained in:
Ahurac 2024-05-16 14:54:44 +02:00
parent 42c685dfc4
commit 23d8c14327
2 changed files with 2 additions and 4 deletions

View file

@ -10,7 +10,7 @@ const { title } = Astro.props;
<!-- <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> -->
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>{ title }</title>
<title>Ahurac | { title }</title>
</head>
<body>
<Header />

View file

@ -1,11 +1,9 @@
---
import Page from '../layouts/Page.astro';
import Card from '../components/Card.astro';
const title = 'Home';
---
<Page title={ `Ahurac | ${title}` }>
<Page title="Home">
<p>Home of a FOSS extremist and music nerd.</p>
<h1>My services</h1>