diff --git a/docs/_config.yml b/docs/_config.yml index a52a4f3e..ecc6ec87 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1,6 +1,6 @@ title: Cemu Graphic Packs description: Official website of the Community Graphic Packs for Cemu, used to upscale and change your Wii U games. -url: https://slashiee.github.io/cemu_graphic_packs +url: https://slashiee.github.io/cemu_graphic_packs/ repository: slashiee/cemu_graphic_packs author: @@ -9,8 +9,6 @@ author: collections: - FAQ -safe: true - exclude: - .gitignore - Gemfile diff --git a/docs/_layouts/page.html b/docs/_layouts/page.html index 4be7976c..c73a6763 100644 --- a/docs/_layouts/page.html +++ b/docs/_layouts/page.html @@ -4,22 +4,22 @@ {{ page.title }} - {{ site.title }} - + {%- comment -%} Include page specific .css and .js files {%- endcomment -%} {%- for static_file in site.static_files -%} {%- assign file_directory = static_file.path | split: "/" | pop | join: "/" -%} {%- assign match_html_file = static_file.basename | append: ".html" -%} {%- if match_html_file == page.name and static_file.extname == ".css" and file_directory == "/assets/css" %} - + {% endif -%} {%- if match_html_file == page.name and static_file.extname == ".js" and file_directory == "/assets/javascript" %} - + {% endif -%} {%- endfor %} - + diff --git a/docs/assets/javascript/index.js b/docs/assets/javascript/index.js index 98ea8a2d..1ad257dc 100644 --- a/docs/assets/javascript/index.js +++ b/docs/assets/javascript/index.js @@ -30,7 +30,7 @@ async function searchSupportedGames(searchString) { if (!supportedGames) { supportedGames = true; - await fetch("/supported_titles.json", {cache: "no-store"}).then(fetchRes => fetchRes.json()).then(fetchJson => { + await fetch((window.location.origin+window.location.pathname)+"/supported_titles.json", {cache: "no-store"}).then(fetchRes => fetchRes.json()).then(fetchJson => { console.debug("Fetched supported titles from '/supported_titles.json'."); supportedGames = fetchJson; supportedGamesSearchSet = FuzzySet([], false, 2, 3); diff --git a/docs/index.html b/docs/index.html index 4c0976ee..792fbb5c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -20,7 +20,7 @@ layout: page -
+
- Search Icon + Search Icon