parent
45c74a11b3
commit
e3f02fccc7
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ branches.forEach(branch => {
|
|||
if (data.public === "true") {
|
||||
index.push({
|
||||
slug: data.slug || file.replace(repoDir, "").replace(/\.md$/, "").replace(/ /g, "%20").slice(1),
|
||||
path: file.replace(repoDir, "").replace(/\.md$/, "").replace(/ /g, "%20").slice(1),
|
||||
language: branch, // Imposta la lingua dalla branch
|
||||
...data
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue