add PUBLIC_TITLE env and cleanup example env file
All checks were successful
Build and publish the docker image / build (push) Successful in 1m19s
All checks were successful
Build and publish the docker image / build (push) Successful in 1m19s
Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
import Head from 'next/head';
|
||||
import { ReactNode } from 'react';
|
||||
|
||||
type Props = {
|
||||
title: string;
|
||||
@ -8,6 +7,7 @@ type Props = {
|
||||
};
|
||||
|
||||
const BASE_URL = process.env.NEXT_PUBLIC_URL ?? 'https://iket.me';
|
||||
const BASE_TITLE = process.env.NEXT_PUBLIC_TITLE ?? 'libremdb';
|
||||
|
||||
const Meta = ({
|
||||
title,
|
||||
@ -22,7 +22,7 @@ const Meta = ({
|
||||
<meta httpEquiv='X-UA-Compatible' content='IE=edge' />
|
||||
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
|
||||
|
||||
<title key='title'>{`${title} | libremdb`}</title>
|
||||
<title key='title'>{`${title} - ${BASE_TITLE}`}</title>
|
||||
<meta key='desc' name='description' content={description} />
|
||||
<link rel='icon' href='/favicon.ico' sizes='any' />
|
||||
<link rel='icon' href='/icon.svg' type='image/svg+xml' />
|
||||
|
Reference in New Issue
Block a user