From 0934ee746a0718cb26f9e09870270b37a3615286 Mon Sep 17 00:00:00 2001 From: Ivan Li Date: Sun, 25 Jul 2021 21:52:09 +0800 Subject: [PATCH] feat: page title. --- pages/_app.tsx | 4 ++++ pages/articles/[id].tsx | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/pages/_app.tsx b/pages/_app.tsx index 092f023..35ac90b 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -14,12 +14,16 @@ import { faTimes, } from "@fortawesome/free-solid-svg-icons"; import clsx from "clsx"; +import Head from "next/head"; function MyApp({ Component, pageProps }) { const apolloClient = useApollo(pageProps); const [focusOpenSidebar, setFocusOpenSidebar] = useState(false); return ( + + Ivan‘s Blog +
= ({ article }) => { return (
+ + {article.title} - Ivan‘s Blog - IvanLi.cc +

{article.title}