chore: add title and description to individual pages (#847)

Add Title and Description to Individual Pages.
eg:- Security | Documenso, Profile | Documenso etc.
This commit is contained in:
Anik Dhabal Babu
2024-01-29 12:23:44 +05:30
committed by GitHub
parent f3df0d9c13
commit 9d6ee94708
21 changed files with 104 additions and 7 deletions

View File

@ -1,5 +1,10 @@
import type { Metadata } from 'next';
import { allBlogPosts } from 'contentlayer/generated';
export const metadata: Metadata = {
title: 'Blog',
};
export default function BlogPage() {
const blogPosts = allBlogPosts.sort((a, b) => {
const dateA = new Date(a.date);