refactor: use metadata export for seo
This commit is contained in:
@@ -9,7 +9,7 @@ import SectionContainer from '@/components/SectionContainer'
|
||||
import Image from '@/components/Image'
|
||||
import Tag from '@/components/Tag'
|
||||
import siteMetadata from '@/data/siteMetadata'
|
||||
// import ScrollTopAndComment from '@/components/ScrollTopAndComment'
|
||||
import ScrollTopAndComment from '@/components/ScrollTopAndComment'
|
||||
|
||||
const editUrl = (path) => `${siteMetadata.siteRepo}/blob/master/data/${path}`
|
||||
const discussUrl = (path) =>
|
||||
@@ -37,8 +37,7 @@ export default function PostLayout({ content, authorDetails, next, prev, childre
|
||||
|
||||
return (
|
||||
<SectionContainer>
|
||||
{/* <BlogSEO url={`${siteMetadata.siteUrl}/${path}`} authorDetails={authorDetails} {...content} /> */}
|
||||
{/* <ScrollTopAndComment /> */}
|
||||
<ScrollTopAndComment />
|
||||
<article>
|
||||
<div className="xl:divide-y xl:divide-gray-200 xl:dark:divide-gray-700">
|
||||
<header className="pt-6 xl:pb-6">
|
||||
|
||||
Reference in New Issue
Block a user