Website direct links instead of anything relative

The weirdest errors... this should just bypass it since it works now.
This commit is contained in:
Crementif 2019-01-09 00:15:42 +01:00
parent b517bd04ab
commit 2ffc85976c
11 changed files with 9 additions and 8 deletions

View File

@ -2,6 +2,7 @@
<html lang="en"> <html lang="en">
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" href="{{ site.baseurl }}/favicon.ico">
<!-- The Cemu Graphic Packs Repository --> <!-- The Cemu Graphic Packs Repository -->
<title>{{ page.title }} - {{ site.title }}</title> <title>{{ page.title }} - {{ site.title }}</title>
<link href="{{ site.baseurl }}/assets/css/universal.css" rel="stylesheet"> <link href="{{ site.baseurl }}/assets/css/universal.css" rel="stylesheet">

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@ -88,7 +88,7 @@ async function searchInfoModalTrigger(clickedElem) {
let clickedGame = clickedElem.target.firstChild.textContent; let clickedGame = clickedElem.target.firstChild.textContent;
// Reset Compat Information // Reset Compat Information
document.getElementById("modal-preview-image").src="/assets/images/no-cover-available.png"; document.getElementById("modal-preview-image").src="https://github.com/Crementif/cemu_graphic_packs/blob/gh-pages/assets/images/no-cover-available.png";
document.getElementById("information-box").className="compat-status-loading"; document.getElementById("information-box").className="compat-status-loading";
document.getElementById("gameTitle").innerText=clickedGame; document.getElementById("gameTitle").innerText=clickedGame;

View File

@ -48,7 +48,7 @@ layout: page
<div class="modal-body"> <div class="modal-body">
<div class="container-fluid"> <div class="container-fluid">
<picture> <picture>
<img id="modal-preview-image" style="width: 156px;" src="{{ site.baseurl }}/assets/images/no-cover-available.png" class="rounded float-left img-thumbnail" alt="Cover of the game"> <img id="modal-preview-image" style="width: 156px;" src="https://github.com/Crementif/cemu_graphic_packs/blob/gh-pages/assets/images/no-cover-available.png" class="rounded float-left img-thumbnail" alt="Cover of the game">
</picture> </picture>
<span class="d-inline-block"> <span class="d-inline-block">
<span id="information-box" class="compat-status-loading"> <span id="information-box" class="compat-status-loading">
@ -56,11 +56,11 @@ layout: page
Known Compatibility Status: Known Compatibility Status:
<span id="compat-status-loading">Loading...</span> <span id="compat-status-loading">Loading...</span>
<span id="compat-status-unknown">Unknown</span> <span id="compat-status-unknown">Unknown</span>
<span id="compat-status-perfect">Perfect<img src="{{ site.baseurl }}/assets/images/compat_status/perfect.png"></span> <span id="compat-status-perfect">Perfect<img src="{https://raw.githubusercontent.com/Crementif/cemu_graphic_packs/gh-pages/assets/images/compat_status/perfect.png"></span>
<span id="compat-status-playable">Playable<img src="{{ site.baseurl }}/assets/images/compat_status/playable.png"></span> <span id="compat-status-playable">Playable<img src="https://raw.githubusercontent.com/Crementif/cemu_graphic_packs/gh-pages/assets/images/compat_status/playable.png"></span>
<span id="compat-status-runs">Runs<img src="{{ site.baseurl }}/assets/images/compat_status/runs.png"></span> <span id="compat-status-runs">Runs<img src="https://raw.githubusercontent.com/Crementif/cemu_graphic_packs/gh-pages/assets/images/compat_status/runs.png"></span>
<span id="compat-status-loads">Loads<img src="{{ site.baseurl }}/assets/images/compat_status/loads.png"></span> <span id="compat-status-loads">Loads<img src="https://raw.githubusercontent.com/Crementif/cemu_graphic_packs/gh-pages/assets/images/compat_status/loads.png"></span>
<span id="compat-status-unplayable">Unplayable<img src="{{ site.baseurl }}/assets/images/compat_status/unplayable.png"></span> <span id="compat-status-unplayable">Unplayable<img src="https://raw.githubusercontent.com/Crementif/cemu_graphic_packs/gh-pages/assets/images/compat_status/unplayable.png"></span>
</p> </p>
<p>The game is upscaled from <span id="nativeResolution"></span>p.</p> <p>The game is upscaled from <span id="nativeResolution"></span>p.</p>
<span id="ultrawide"> <span id="ultrawide">
@ -114,7 +114,7 @@ layout: page
<td><time class="commit-time" datetime="{{ site.github.releases[releaseIndex].published_at }}"></time></td> <td><time class="commit-time" datetime="{{ site.github.releases[releaseIndex].published_at }}"></time></td>
<td>{{ site.github.releases[releaseIndex].body | split: "###" | shift | first | split: "```" | pop | first }}</td> <td>{{ site.github.releases[releaseIndex].body | split: "###" | shift | first | split: "```" | pop | first }}</td>
{% comment %}<td>{{ site.github.releases[releaseIndex].body | split: "```" | shift | first }}</td>{% endcomment %} {% comment %}<td>{{ site.github.releases[releaseIndex].body | split: "```" | shift | first }}</td>{% endcomment %}
<td><a href="{{ site.github.releases[releaseIndex].assets[0].browser_download_url }}"><img class="icon ml-4" src="{{ site.baseurl }}/assets/images/download.png" alt="Download Icon"/></td> <td><a href="{{ site.github.releases[releaseIndex].assets[0].browser_download_url }}"><img class="icon ml-4" src="https://raw.githubusercontent.com/Crementif/cemu_graphic_packs/gh-pages/assets/images/download.png" alt="Download Icon"/></td>
</tr> </tr>
{% endfor %} {% endfor %}
<tr> <tr>