mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-16 03:34:48 +02:00
Fix: translated pages not found on landing page
This commit is contained in:
committed by
Sara Gibbons
parent
464fa07d5d
commit
c376d864d3
@@ -25,12 +25,14 @@
|
|||||||
relativePath: true,
|
relativePath: true,
|
||||||
auto2top: false,
|
auto2top: false,
|
||||||
alias: {
|
alias: {
|
||||||
'/(README.*)': '/translations/$1',
|
'/(README.(.*))': '/translations/$1',
|
||||||
'/((?!README).*)/README.(.*)': '$1/translations/README.$2',
|
'#/((?!README).*)/README.(.*)': '$1/translations/README.$2',
|
||||||
|
'/((?!README).*)/((?!README).*)/README.(.*)': '$1/$2/translations/README.$3',
|
||||||
|
|
||||||
// handle English, since English files isn't in translation folders
|
// handle English, since English files isn't in translation folders
|
||||||
'/(README$)': '/$1',
|
'/(README$)': '/$1',
|
||||||
'/((?!README).*)/(README$)': '$1/$2'
|
'#/((?!README).*)/(README$)': '$1/$2',
|
||||||
|
'/((?!README).*)/((?!README).*)/(README$)': '$1/$2/$3'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Reference in New Issue
Block a user