mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 07:37:19 +02:00
fix(content-blog): make post ID unique (#6061)
* fix(content-blog): make post ID unique * Fixes
This commit is contained in:
parent
d5d10f5656
commit
8644097ab7
4 changed files with 19 additions and 13 deletions
|
@ -219,7 +219,7 @@ async function processBlogSourceFile(
|
|||
const authors = getBlogPostAuthors({authorsMap, frontMatter});
|
||||
|
||||
return {
|
||||
id: frontMatter.slug ?? title,
|
||||
id: slug,
|
||||
metadata: {
|
||||
permalink,
|
||||
editUrl: getBlogEditUrl(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue