To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit da8f731f authored by Sandro Lutz's avatar Sandro Lutz Committed by Sandro Lutz
Browse files

Fix translation issue on «How to Ersti» page

parent 624d8405
......@@ -47,6 +47,12 @@ exports.createPages = ({ actions }) => {
const { createRedirect } = actions
// Apply redirects for URLs which have changed due to restructuring of the website.
createRedirect({
fromPath: '/en/studies',
toPath: '/en/studies/documents',
isPermanent: true,
redirectInBrowser: true,
})
createRedirect({
fromPath: '/en/studydocuments',
toPath: '/en/studies/documents',
......@@ -59,6 +65,12 @@ exports.createPages = ({ actions }) => {
isPermanent: true,
redirectInBrowser: true,
})
createRedirect({
fromPath: '/de/studies',
toPath: '/de/studies/documents',
isPermanent: true,
redirectInBrowser: true,
})
createRedirect({
fromPath: '/de/studydocuments',
toPath: '/de/studies/documents',
......
......@@ -48,7 +48,7 @@
{
"slug": "3-driving-license",
"title": {
"de": "Führerscheint",
"de": "Führerschein",
"en": "Driving License"
},
"content": {
......
......@@ -108,12 +108,12 @@ const HowToErstiPage = () => {
subitems {
slug
title {
en
de
en
}
content {
en
de
en
}
}
}
......
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