diff --git a/docs/_config.yml b/docs/_config.yml index 4d46866f..70184b3e 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1,5 +1,5 @@ title: Cemu Graphic Packs -description: Official website of the Community Graphic Packs for Cemu, used to upscale and change your Wii U games. +description: Official website of the Community Graphic Packs for Cemu, used to upscale and/or change your favorite Wii U games. url: https://ActualMandM.github.io/cemu_graphic_packs/ repository: ActualMandM/cemu_graphic_packs diff --git a/docs/assets/javascript/index.js b/docs/assets/javascript/index.js index 2cd7e1ad..7b68d941 100644 --- a/docs/assets/javascript/index.js +++ b/docs/assets/javascript/index.js @@ -24,6 +24,7 @@ const altNames = { "tphd": "The Legend of Zelda: Twilight Princess HD", "wwhd": "The Legend of Zelda: The Wind Waker HD", // easter eggs + "zemu": "The Legend of Zelda: Breath of the Wild", "breath of the dicknut": "The Legend of Zelda: Breath of the Wild", "f-zero": "FAST Racing NEO", "m&m": "Sonic", @@ -53,10 +54,17 @@ async function searchSupportedGames(searchString) { let resultsHintSearch = []; if (Object.keys(altNames).includes(searchString.toLowerCase())) searchString = altNames[searchString.toLowerCase()]; - if (searchString.toLowerCase() == "digital foundry") { - document.title = "Home - CEMU Hacks"; - document.getElementsByClassName("display-4")[0].innerText="CEMU Hacks"; - document.getElementsByClassName("lead")[0].innerText = "Get your online CEMU hax here!!"; + switch (searchString.toLowerCase()) { + case "digital foundry": + document.title = "Home - CEMU Hacks"; + document.getElementsByClassName("navbar-brand")[0].innerText="CEMU Hacks"; + document.getElementsByClassName("display-4")[0].innerText="CEMU Hacks"; + document.getElementsByClassName("lead")[0].innerText = "Get your online CEMU hax here!!"; + case "ign": + // IGN based for calling it community built presets & plugins instead of hacks + document.title = "Home - Cemu Plugins"; + document.getElementsByClassName("navbar-brand")[0].innerText="Cemu Plugins"; + document.getElementsByClassName("display-4")[0].innerText="Cemu Plugins"; } if (searchString != "*") resultsHintSearch = supportedGamesSearchSet.get(searchString); else { diff --git a/docs/index.html b/docs/index.html index c12dd970..ee5216a6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -8,7 +8,7 @@ layout: page
Select the download for your Cemu version