forked from spacebar/spfn-website
Move current guides to begin different language support
This commit is contained in:
parent
366aa7300e
commit
3c3f17fff6
6 changed files with 4 additions and 2 deletions
|
|
@ -5,10 +5,10 @@ const params = new URLSearchParams(window.location.search);
|
|||
const guideParam = params.get("guide");
|
||||
|
||||
let guide = "install-wiiu";
|
||||
let guidePath = '/md/install-wiiu.md';
|
||||
let guidePath = '/md/en/install-wiiu.md';
|
||||
if (guideParam) {
|
||||
guide = guideParam;
|
||||
guidePath = `/md/${guide}.md`;
|
||||
guidePath = `/md/en/${guide}.md`;
|
||||
}
|
||||
|
||||
fetch(guidePath)
|
||||
|
|
|
|||
Loading…
Reference in a new issue