From 3bf85d00c3336e91582b5cfd935d60288b6f33a1 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 13 Jul 2021 11:55:29 +0200 Subject: head v3 --- pages/_app.tsx | 6 ------ pages/index.tsx | 7 +++++++ pages/search.tsx | 7 +++++++ 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/pages/_app.tsx b/pages/_app.tsx index e7ed373..e66aa15 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -24,13 +24,7 @@ export default function Blog({ Component, pageProps }) { return <> this.rel = 'stylesheet'} /> - - Loek's Blog - - - - diff --git a/pages/index.tsx b/pages/index.tsx index a0ec98c..74b934e 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -5,6 +5,7 @@ import Navbar, { MobileNavbar, NavbarItem } from '../components/navbar'; import Seperator from '../components/seperator'; import { ArticleMeta, getStaticProps as getBlogPage, RenderedArticle } from './post/[id]'; import { PostsInfo } from './search'; +import Head from 'next/head'; import { useEffect, useState } from 'react'; @@ -30,6 +31,12 @@ export default function Home(props: { }, []); return
+ + Loek's Blog + + + +

{props.posts[0].props.meta.title}

diff --git a/pages/search.tsx b/pages/search.tsx index 6f5d1a7..14ed9c2 100644 --- a/pages/search.tsx +++ b/pages/search.tsx @@ -1,5 +1,6 @@ import Fuse from 'fuse.js'; import { useEffect, useState } from 'react'; +import Head from 'next/head'; import Navbar, { MobileNavbar } from '../components/navbar'; import Tags from '../components/tag'; @@ -140,6 +141,12 @@ export default function SearchPage() { }, [query]); return
+ + Search - Loek's Blog + + + +

Search for posts

-- cgit v1.2.3