feat: move articles link from 'blog/' to 'post/' paths
This commit is contained in:
parent
350f6f3865
commit
7e5f8ce06f
9 changed files with 15 additions and 9 deletions
|
@ -21,7 +21,7 @@ export async function GET(context) {
|
|||
const container = await AstroContainer.create({ renderers });
|
||||
|
||||
// Load the content collection entries to add to our RSS feed.
|
||||
const posts = (await getCollection("blog")).sort((a, b) =>
|
||||
const posts = (await getCollection("posts")).sort((a, b) =>
|
||||
// Sort by publication date descending.
|
||||
a.data.pubDate > b.data.pubDate ? -1 : 1
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue