Skip to content

Commit

Permalink
feat: add metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisrick25 committed Oct 26, 2023
1 parent 57b06a9 commit 3040378
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/blog/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ import { allBlogs } from 'contentlayer/generated'
import Link from 'next/link';
import { formatDate } from '@/lib/formatDate';

export async function generateMetadata() {
return {
title: 'Blog',
description: 'Read my blogs about software development, programming, and more',
};
}

// @ts-ignore
export default function BlogPage({ params }) {
console.log(allBlogs)
Expand Down

0 comments on commit 3040378

Please sign in to comment.