layouts/Page : gestion du titre
This commit is contained in:
parent
42c685dfc4
commit
23d8c14327
2 changed files with 2 additions and 4 deletions
|
@ -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 />
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue