mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-21 18:47:50 +02:00
fix blog case
This commit is contained in:
parent
c1183ac89b
commit
68cae1bf4c
2 changed files with 7 additions and 3 deletions
|
@ -323,7 +323,9 @@ async function processBlogSourceFile(
|
|||
} else if (typeof editUrl === 'string') {
|
||||
const isLocalized = blogDirPath === contentPaths.contentPathLocalized;
|
||||
const fileContentPath =
|
||||
isLocalized && options.editLocalizedFiles
|
||||
isLocalized &&
|
||||
options.editLocalizedFiles &&
|
||||
contentPaths.contentPathLocalized
|
||||
? contentPaths.contentPathLocalized
|
||||
: contentPaths.contentPath;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue