refactor: migrate route from post/... to blog/...
This commit is contained in:
parent
03ce3caefd
commit
414cd7d3d7
12 changed files with 18 additions and 9 deletions
|
@ -58,7 +58,7 @@ export async function GET(context) {
|
|||
title: post.data.title,
|
||||
description: post.data.description || '',
|
||||
pubDate: post.data.pubDate,
|
||||
link: `${baseUrl}/post/${post.slug}`,
|
||||
link: `${baseUrl}/blog/${post.slug}`,
|
||||
content,
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue