{title}
import React, {ReactNode} from 'react' import * as process from 'process' import Head from 'next/head' import Link from 'next/link' 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' 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) { if (isRssFeed) { return children } return ( <>