// import { useState, ReactNode } from 'react' // import { Comments } from 'pliny/comments' // import { formatDate } from 'pliny/utils/formatDate' // import { CoreContent } from 'pliny/utils/contentlayer' // import type { Blog } from 'contentlayer/generated' // import Link from '@/components/Link' // import PageTitle from '@/components/PageTitle' // import SectionContainer from '@/components/SectionContainer' // // import { BlogSEO } from '@/components/SEO' // import siteMetadata from '@/data/siteMetadata' // import ScrollTopAndComment from '@/components/ScrollTopAndComment' // interface LayoutProps { // content: CoreContent // children: ReactNode // next?: { path: string; title: string } // prev?: { path: string; title: string } // } // export default function PostLayout({ content, next, prev, children }: LayoutProps) { // const [loadComments, setLoadComments] = useState(false) // const { path, slug, date, title } = content // return ( // // {/* */} // //
//
//
//
//
//
//
Published on
//
// //
//
//
//
// {title} //
//
//
//
//
//
{children}
//
// {siteMetadata.comments && ( //
// {!loadComments && ( // // )} // {loadComments && } //
// )} // //
//
//
//
// ) // }