aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorAnthony Wang2024-11-03 14:29:47 -0500
committerAnthony Wang2024-11-03 14:29:47 -0500
commit919dca921164767d006c6661bbba3450c1cabf72 (patch)
treed28f66e01fa36f893b903b813b04933625f01885 /layouts
parent64f740b3395f57603471f8b38ef4972a06170b43 (diff)
Replace quotes (') in quotes (the footer quotes) with smart quotes (’)
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/footer.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index e6126d4..8b30c1f 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -36,6 +36,6 @@
"I was thinking before I was thinking.",
"The next time you have a fever, I want you to dynamic program your way out of it!"
]
- document.querySelector(".quote").innerHTML = "“" + quotes[Math.floor(Math.random() * quotes.length)] + "”";
+ document.querySelector(".quote").innerHTML = "“" + quotes[Math.floor(Math.random() * quotes.length)].replace("'", "’") + "”";
</script>
</footer>