mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Update card and content pages layout
This commit is contained in:
@@ -15,6 +15,7 @@ export const getBlogPosts = () => {
|
||||
const { data } = matter(fileContents);
|
||||
|
||||
const options = { month: 'long', day: 'numeric', year: 'numeric' };
|
||||
// @ts-ignore
|
||||
const formattedDate = new Date(data.date).toLocaleDateString('en-IN', options);
|
||||
|
||||
const frontmatter = {
|
||||
|
||||
Reference in New Issue
Block a user