subtitle now changes between a selected few
This commit is contained in:
parent
e5df14df37
commit
dd47134dca
1 changed files with 14 additions and 2 deletions
|
@ -40,11 +40,23 @@
|
||||||
<a href = "https://rustystriker.dev/">
|
<a href = "https://rustystriker.dev/">
|
||||||
<h1 style="margin-bottom:0px;">Rusty's Website</h1>
|
<h1 style="margin-bottom:0px;">Rusty's Website</h1>
|
||||||
</a>
|
</a>
|
||||||
<p style = "margin-top: 0px;">
|
<p id="subtitle" style = "margin-top: 0px;">
|
||||||
A place for wanky stuff, weird JavaScript and warm-ish takes
|
A place for wanky stuff, weird JavaScript and warm-ish takes
|
||||||
</p>
|
</p>
|
||||||
<a href = "https://rustystriker.dev/about.html">About</a>
|
<a href = "https://rustystriker.dev/about.html">About</a>
|
||||||
<a href = "https://gitea.rustystriker.dev/RustyStriker/website">Source</a>
|
<a href = "https://gitea.rustystriker.dev/RustyStriker/website">Source</a>
|
||||||
<a href = "https://rustystriker.dev/licenses.html">Licenses</a>
|
<!-- <a href = "https://rustystriker.dev/licenses.html">Licenses</a> -->
|
||||||
</div>
|
</div>
|
||||||
|
<script>
|
||||||
|
let opts = [
|
||||||
|
"A place for wanky stuff, weird JavaScript and wam-ish takes",
|
||||||
|
"not a graphic designer",
|
||||||
|
"Just another semi-old school website",
|
||||||
|
"This website uses absolutely no cookies",
|
||||||
|
"This website is provided as is with no warranty",
|
||||||
|
"For the best experience you might want to use Firefox/Librewolf",
|
||||||
|
"I use <a href= \"https://artixlinux.org/\" >Artix</a> btw",
|
||||||
|
];
|
||||||
|
document.getElementById("subtitle").innerHTML = opts[Math.floor(Math.random() * opts.length)];
|
||||||
|
</script>
|
||||||
</header>
|
</header>
|
Loading…
Reference in a new issue