fix home seo

This commit is contained in:
nc 2023-02-19 19:53:47 +07:00
parent 6c56ed7ceb
commit 07c88c98b8
2 changed files with 10 additions and 5 deletions

View File

@ -5,8 +5,11 @@ import Header from '../Header';
import './styles.scss'; import './styles.scss';
import '../../styles/code.scss'; import '../../styles/code.scss';
type baseType = {
children: React.ReactNode
}
const Base = ({ children }: any) => ( const Base = ({ children }: baseType) => (
<> <>
<div className="ContainerMD"> <div className="ContainerMD">
<Header /> <Header />

View File

@ -50,10 +50,12 @@ const IndexPage = (props: articleListType) => {
export default IndexPage; export default IndexPage;
export const Head = () => { export const Head = () => {
return (
<SEO title="Home" <SEO title="Home"
children="" children=""
description="" description=""
/> />
)
} }
export const pageQuery = graphql` export const pageQuery = graphql`