Added custom branding env-vars

This commit is contained in:
Sebastian Weise 2022-10-30 15:55:33 +01:00
parent ab4a60f814
commit 29fa4fe3bd
3 changed files with 10 additions and 3 deletions

View file

@ -10,7 +10,10 @@ export default function Layout({ title, children, header = true, footer = true }
return (
<>
<Head>
<title>umami{title && ` - ${title}`}</title>
<title>
{process.env.NEXT_PUBLIC_CUSTOM_TITLE || 'umami'}
{title && ` - ${title}`}
</title>
</Head>
{header && <Header />}