14 lines
346 B
TypeScript
14 lines
346 B
TypeScript
import MarkdownBlogComponent from "@/components/MarkdownBlogComponent";
|
|
import path from "path";
|
|
import { fileURLToPath } from "url";
|
|
|
|
export default async function BlogPage() {
|
|
return (
|
|
<MarkdownBlogComponent
|
|
blogFilePath={path.join(
|
|
path.dirname(fileURLToPath(import.meta.url)),
|
|
"content.md",
|
|
)}
|
|
/>
|
|
);
|
|
}
|