feat: add seo title and favicon respecting basePath
This commit is contained in:
committed by
Mathias Schopmans
parent
57d7e85331
commit
554607a58d
@@ -1,20 +1,7 @@
|
||||
import Head from "next/head";
|
||||
|
||||
import { CustomPage } from "@/pages/_app";
|
||||
|
||||
const Home: CustomPage = () => {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>Create Next App</title>
|
||||
<meta name="description" content="Generated by create next app" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
</Head>
|
||||
|
||||
<h1>Hello world.</h1>
|
||||
</>
|
||||
);
|
||||
return <h1>Hello world.</h1>;
|
||||
};
|
||||
|
||||
export default Home;
|
||||
|
||||
Reference in New Issue
Block a user