Fix backwards logic

FP is dum

Reviewed-on: https://git.amcforum.wiki/Firepup650/firepup-site/pulls/9
Co-authored-by: 9pfs <9pfs@amcforum.wiki>
Co-committed-by: 9pfs <9pfs@amcforum.wiki>
This commit is contained in:
9pfs 2023-10-01 23:22:10 -04:00 committed by Firepup650
parent cf44106d7a
commit dee1fbc79e

View file

@ -1,6 +1,6 @@
var foot = document.createElement("footer");
foot.innerHTML = `<span class="rainbow">This website uses </span><a href="https://bookie0.repl.co" class=cyan>Bookie0's</a> <a href="https://bouncecss.bookie0.repl.co/" class=cyan>BounceCSS</a><span class="rainbow"> for styling.</span>
${location.pathname == "/"? '<br/><a href="/" class="cyan">Return to index</a>': ''}
${location.pathname !== "/"? '<br/><a href="/" class="cyan">Return to index</a>': ''}
<br/>
<span class="rainbow">Website © 2023 Firepup650</span>
`;