{title}
import React, {ReactNode} from 'react' import Head from 'next/head' import {usePathname} from 'next/navigation' import {Container} from '@/components/Container' import {Prose} from '@/components/ui/Prose' import {Views} from '@/components/ui/Views' import {ArrowDownIcon} from '@/components/icons/ArrowDownIcon' import {formatDate} from '@/lib/formatDate' import Link from 'next/link' 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 ( <>