fix error in head->title

This commit is contained in:
Guillaume Dorce 2023-03-05 16:05:42 +01:00
parent 4862da7ea8
commit eea5da4370
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ function Layout({ children, title }: { children: React.ReactNode, title?: string
return (
<div>
<Head>
<title>{title} | Photo Club Haute Lozère</title>
<title>{title ? title + " | " : ""} Photo Club Haute Lozère</title>
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
<link rel="icon" href="/favicon.ico" />
<meta name="description" content="Site du photo club de Haute Lozère" />