refactor: move pubDate to date in posts front matter
This commit is contained in:
parent
123da1747f
commit
b2270003bd
15 changed files with 21 additions and 22 deletions
|
@ -6,7 +6,7 @@ export async function GET() {
|
|||
title: post.data.title,
|
||||
description: post.data.description,
|
||||
content: post.body,
|
||||
pubDate: post.data.pubDate,
|
||||
date: post.data.date,
|
||||
slug: post.slug
|
||||
}));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue