mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 23:57:22 +02:00
Minor cleanup
This commit is contained in:
parent
fd01449db2
commit
cf5ee95a48
1 changed files with 0 additions and 1 deletions
|
@ -58,7 +58,6 @@ function extractMetadata(content) {
|
|||
const keyvalue = lines[i].split(":");
|
||||
const key = keyvalue[0].trim();
|
||||
let value = keyvalue.slice(1).join(":").trim();
|
||||
// Handle the case where you have "Community #10"
|
||||
try {
|
||||
value = JSON.parse(value);
|
||||
} catch (e) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue