fix(docs): routing should always fallback to default (#40061)
This commit is contained in:
committed by
GitHub
parent
8ec0da2259
commit
6dbd308d42
@ -329,3 +329,26 @@ body.close .github-corner {
|
|||||||
.docsify-copy-code-button {
|
.docsify-copy-code-button {
|
||||||
font-size: 0.7em !important;
|
font-size: 0.7em !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/****** Others ******/
|
||||||
|
|
||||||
|
.i18n-lang-list ul {
|
||||||
|
height: 10em;
|
||||||
|
font-size: larger;
|
||||||
|
list-style: none;
|
||||||
|
display: -webkit-flex;
|
||||||
|
display: flex;
|
||||||
|
-webkit-align-items: center;
|
||||||
|
align-items: center;
|
||||||
|
-webkit-justify-content: center;
|
||||||
|
justify-content: center;
|
||||||
|
-webkit-flex-flow: column wrap;
|
||||||
|
flex-flow: column wrap;
|
||||||
|
-webkit-align-content: stretch;
|
||||||
|
align-content: stretch;
|
||||||
|
}
|
||||||
|
|
||||||
|
.i18n-lang-list li {
|
||||||
|
text-align: left;
|
||||||
|
width: 5em;
|
||||||
|
}
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
|
<div style='text-align: center'>
|
||||||
|
|
||||||
## Read these guides in other languages
|
## Read these guides in other languages
|
||||||
|
|
||||||
<div style='columns: 3; -webkit-columns: 3; -moz-columns: 3;' >
|
</div>
|
||||||
|
|
||||||
|
<br />
|
||||||
|
|
||||||
|
<div class='i18n-lang-list'>
|
||||||
|
|
||||||
- [English](/index.md)
|
- [English](/index.md)
|
||||||
- [Afrikaans](/i18n/Afrikaans/index.md)
|
- [Afrikaans](/i18n/Afrikaans/index.md)
|
||||||
@ -41,4 +47,4 @@
|
|||||||
|
|
||||||
Interested in updating the translations? Visit: <https://translate.freecodecamp.org>
|
Interested in updating the translations? Visit: <https://translate.freecodecamp.org>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
<a class="app-name-link" data-nosearch="" href="/">
|
<a class="app-name-link" data-nosearch="" href="/">
|
||||||
<img alt="freeCodeCamp.org" src="images/branding/primary_logo.svg">
|
<img alt="freeCodeCamp.org" src="images/branding/primary_logo.svg">
|
||||||
</a>
|
</a>
|
||||||
<a class="translations-link" data-nosearch="" href="/#/_translations">
|
<a class="translations-link" data-nosearch="" href="/#/i18n">
|
||||||
Translations
|
Translations
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@ -52,12 +52,13 @@
|
|||||||
<script>
|
<script>
|
||||||
window.$docsify = {
|
window.$docsify = {
|
||||||
|
|
||||||
homepage: 'index.md',
|
homepage: 'index',
|
||||||
|
|
||||||
relativePath: true,
|
relativePath: true,
|
||||||
// common aliases
|
// common aliases
|
||||||
alias: {
|
alias: {
|
||||||
'.*/_navbar.md': '/_navbar.md'
|
'.*/_navbar.md': '/_navbar.md',
|
||||||
|
'/i18n/?': '/_translations.md'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user