{title}
import {ReactNode} from 'react' import Head from 'next/head' import {usePathname} from 'next/navigation' import {Container} from '@/components/Container' import {formatDate} from '@/lib/formatDate' import {Prose} from '@/components/Prose' import {Views} from '@/components/Views' type ArticleLayout = { children?: ReactNode isRssFeed: boolean title: string description: string ogImage: string date: string slug: string } export function ArticleLayout({ children, isRssFeed = false, title, description, ogImage, date, slug }: ArticleLayout) { const pathname = usePathname() if (isRssFeed) { return children } return ( <>