Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
Enable listing of blog posts
Browse files Browse the repository at this point in the history
  • Loading branch information
vandorsx committed Jun 6, 2024
1 parent dd138c0 commit cbe77aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/blog/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import { ChevronRightIcon } from "@heroicons/react/24/outline";
import Breadcrumb from "@/app/_components/breadcrumb";

export default async function Blog() {
const posts = [] as PostMatter[];
//const posts = (await getPosts(PostReturn.MATTER_ONLY)) as PostMatter[];
const posts = (await getPosts(PostReturn.MATTER_ONLY)) as PostMatter[];

return (
<div>
Expand Down Expand Up @@ -57,6 +56,7 @@ export default async function Blog() {
<Link
href={`/blog/${post.slug}`}
className="block self-start text-blue-500 hover:underline dark:text-violet-400"
prefetch={true}
>
{post.title}
</Link>
Expand Down

0 comments on commit cbe77aa

Please sign in to comment.