mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-18 03:26:57 +02:00
Allows periods in blog file names -- will allow for version numbers, etc (#163)
* Allows periods in blog file names -- will allow for version numbers, etc * Removed debug lines...
This commit is contained in:
parent
a6bad7f92d
commit
55b0f33f2a
3 changed files with 10 additions and 4 deletions
|
@ -250,8 +250,7 @@ function execute() {
|
|||
.replace("-", "/")
|
||||
.replace("-", "/")
|
||||
.replace("-", "/")
|
||||
.replace(/\./g, "-")
|
||||
.replace(/\-md$/, ".html");
|
||||
.replace(/\.md$/, ".html");
|
||||
const result = readMetadata.extractMetadata(
|
||||
fs.readFileSync(file, { encoding: "utf8" })
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue