Add default quote, use smart quotes for footer to match rest of site
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Anthony Wang 2024-01-04 22:02:06 -06:00
parent 5f9f1060b0
commit 6eadaba448
Signed by: a
SSH key fingerprint: SHA256:B5ADfMCqd2M7d/jtXDoihAV/yfXOAbWWri9+GdCN4hQ

View file

@ -1,5 +1,5 @@
<footer class="footer">
<div class="quote"></div>
<div class="quote">&ldquo;To Be Filled By O.E.M.&rdquo;</div>
<div>CC BY-SA 4.0</div>
<script>
var quotes = [
@ -20,6 +20,6 @@
"It will make you laugh! It will make you cry! It will make you try mayonnaise-frosted pie!",
"Icicles? Tide pods? No, typos."
]
document.querySelector(".quote").innerHTML = "\"" + quotes[Math.floor(Math.random() * quotes.length)] + "\"";
document.querySelector(".quote").innerHTML = "&ldquo;" + quotes[Math.floor(Math.random() * quotes.length)] + "&rdquo;";
</script>
</footer>