import { BlogPostLayout } from "@blog";
import { blogConfig } from "@/lib/blog-config";

export default async function Post({ slug }: { slug: string }) {
  const post = await blogConfig.feed.fetchDocument(slug);
  return <BlogPostLayout config={blogConfig} slug={slug} post={post} />;
}
