Skip to content

Commit

Permalink
Fix site links (#3)
Browse files Browse the repository at this point in the history
* fix links

* no jekyll
  • Loading branch information
beer-psi authored Jan 9, 2024
1 parent ec57d18 commit c712fd7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Empty file added .nojekyll
Empty file.
2 changes: 1 addition & 1 deletion extensions/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

async init() {
try {
const index = await fetch("/index.min.json").then((e) => e.json());
const index = await fetch("../index.min.json").then((e) => e.json());

this.extensions = index.sort((a, b) => {
if ("all" === a.lang && "all" !== b.lang) {
Expand Down
6 changes: 3 additions & 3 deletions extensions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
integrity="sha384-2HpI1Tt4Zv7emgrwKyetd6ouDie+RKolEtNHOdD+KCVHLj1V2fjxryG48h50f0Rw"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="/index.css">
<link rel="stylesheet" href="../index.css">
<script async type="module"
src="https://cdn.jsdelivr.net/npm/@shoelace-style/[email protected]/cdn/shoelace-autoloader.js"
integrity="sha384-ILzDiPYY4je5i95gGzpVe0e88rFqVnoz3i7HPBsRbtEHxfkA7wR8E+PwjCgt1Bin"
Expand Down Expand Up @@ -78,7 +78,7 @@ <h1 class="sources__title">Extensions</h1>
<div class="source" :id="extension.pkg.replace('eu.kanade.tachiyomi.extension.', '')">
<a :href="`#${extension.pkg.replace('eu.kanade.tachiyomi.extension.', '')}`"
class="source__anchor">#</a> <img class="source__icon" :alt="`Icon for ${extension.name}`"
:src="`/icon/${extension.pkg}.png`" loading="lazy" width="42" height="42">
:src="`../icon/${extension.pkg}.png`" loading="lazy" width="42" height="42">
<div class="source__info">
<div class="source__name">
<span x-text="extension.name.split(': ')[1]"></span> <span class="source__version"
Expand All @@ -90,7 +90,7 @@ <h1 class="sources__title">Extensions</h1>
<div class="source__version" x-text="simpleLanguageName(extension.lang)"></div>
</div>
<sl-button pill size="small" download class="download-button"
:href="`/apk/${extension.apk}`"><sl-icon name="download"></sl-icon></sl-button>
:href="`../apk/${extension.apk}`"><sl-icon name="download"></sl-icon></sl-button>
</div>
</template>
</div>
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
integrity="sha384-2HpI1Tt4Zv7emgrwKyetd6ouDie+RKolEtNHOdD+KCVHLj1V2fjxryG48h50f0Rw"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="/index.css">
<link rel="stylesheet" href="index.css">
<script async type="module"
src="https://cdn.jsdelivr.net/npm/@shoelace-style/[email protected]/cdn/shoelace-autoloader.js"
integrity="sha384-ILzDiPYY4je5i95gGzpVe0e88rFqVnoz3i7HPBsRbtEHxfkA7wR8E+PwjCgt1Bin"
Expand Down Expand Up @@ -70,7 +70,7 @@ <h2 class="header">Guide</h2>
</div>

<div>
<p>If you're not using any of the above, download and update extensions from <a class="description__anchor" href="/extensions">the listing page.</a></p>
<p>If you're not using any of the above, download and update extensions from <a class="description__anchor" href="./extensions">the listing page.</a></p>
</div>

<script>Promise.allSettled([customElements.whenDefined("sl-button")]).then((() => { document.body.classList.add("ready") }))</script>
Expand Down

0 comments on commit c712fd7

Please sign in to comment.