Commit 8a18b06b authored by TheMainOne's avatar TheMainOne
Browse files

Merge branch 'patch-1' into 'master'

Fix redirect link

See merge request !36
parents 5c454f06 9af968bb
Pipeline #2105 passed with stage
in 29 seconds
......@@ -5,7 +5,7 @@ function redirect (oldPath, newPath) {
const oldRelativePath = path.join(__dirname, '../', './_site/', oldPath);
const newRelativePath = path.join(__dirname, '../', './_site/', newPath);
const newSitePath = path.join('', newPath);
const newSitePath = path.join('', newPath);
fs.mkdirSync(path.dirname(oldRelativePath), { recursive: true });
console.log(`Redirecting ${oldPath}${newPath}`);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment