Move HTML title to correct place
This commit is contained in:
@@ -4,10 +4,14 @@ import type { AppProps } from 'next/app';
|
||||
import Footer from './components/Footer';
|
||||
import NavBar from './components/NavBar';
|
||||
import Logo from './components/Logo';
|
||||
import Head from 'next/head';
|
||||
|
||||
function Runosaari({ Component, pageProps }: AppProps) {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>Runosaari</title>
|
||||
</Head>
|
||||
<NavBar />
|
||||
<Logo />
|
||||
<main>
|
||||
|
||||
@@ -5,7 +5,6 @@ class MyDocument extends Document {
|
||||
return (
|
||||
<Html>
|
||||
<Head>
|
||||
<title>Runosaari</title>
|
||||
<link
|
||||
href='https://fonts.googleapis.com/css?family=Crimson+Text'
|
||||
rel='stylesheet'
|
||||
|
||||
Reference in New Issue
Block a user