Add default quote, use smart quotes for footer to match rest of site
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
5f9f1060b0
commit
6eadaba448
|
@ -1,5 +1,5 @@
|
|||
<footer class="footer">
|
||||
<div class="quote"></div>
|
||||
<div class="quote">“To Be Filled By O.E.M.”</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 = "“" + quotes[Math.floor(Math.random() * quotes.length)] + "”";
|
||||
</script>
|
||||
</footer>
|
||||
|
|
Loading…
Reference in a new issue