diff --git a/gridsome.server.js b/gridsome.server.js index cefda8b8c1..5aa554e6e3 100644 --- a/gridsome.server.js +++ b/gridsome.server.js @@ -330,6 +330,7 @@ stream.write(`\n- link: ${options.path} createNewRedirect(`/online-courses/introduction-course`, '/learn/introduction-course/overview') createNewRedirect(`/online-courses/smart-home-course`, '/learn/smart-home-course/overview') createNewRedirect(`/online-courses/sensors-connectivity-course`, '/learn/sensors-connectivity-course/overview') + createNewRedirect('/certificates', '/learn/') oldCourses.forEach(path => { createNewRedirect(`/online-courses/${path.old}`, `/learn/${path.new}/overview`,) @@ -342,6 +343,8 @@ stream.write(`\n- link: ${options.path} allCoursesPaths.forEach(path => { createNewRedirect(`/learn/${path}`, `/learn/${path}/overview`) }) + + allPossiblePaths.forEach(node => { diff --git a/src/components/Header.vue b/src/components/Header.vue index de7bd7fe1f..05ec2997ba 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -11,7 +11,7 @@ diff --git a/src/data/courses-hashes.yaml b/src/data/courses-hashes.yaml index d6cecdecf9..20e6f9c289 100644 --- a/src/data/courses-hashes.yaml +++ b/src/data/courses-hashes.yaml @@ -458,7 +458,7 @@ - link: /en/learn/feecc-course/feecc-analytics-deployment/ hash: 2128efab9e725f888aa7cb640974e9c7 lastUpdate: Thu Nov 16 2023 16:40:16 GMT+0400 (Samara Standard Time) - updated/en/learn/feecc-course/feecc-analytics-deployment/: true + updated/en/learn/feecc-course/feecc-analytics-deployment/: false - link: /en/learn/feecc-course/feecc-architecture/ hash: 665b84f8e2a95607464e94007936009c @@ -468,12 +468,12 @@ - link: /en/learn/feecc-course/feecc-workbench-deployment/ hash: 586dd73d71f6f2ba90b96988312e3695 lastUpdate: Thu Nov 16 2023 16:40:16 GMT+0400 (Samara Standard Time) - updated/en/learn/feecc-course/feecc-workbench-deployment/: true + updated/en/learn/feecc-course/feecc-workbench-deployment/: false - link: /en/learn/feecc-course/feecc-workbench-demo/ hash: b4fcafcffca7660cc5993ca515a42549 lastUpdate: Thu Nov 16 2023 16:40:16 GMT+0400 (Samara Standard Time) - updated/en/learn/feecc-course/feecc-workbench-demo/: true + updated/en/learn/feecc-course/feecc-workbench-demo/: false - link: /en/learn/feecc-course/overview/ hash: 3ec016f3b4e2cf925d59634452bfdd70