© Anthony Holiday {current-year}
Scroll down for implementation instructions.
Add the code below into the before /body tag. Click to copy code.
Click to copy code<script> document.addEventListener("DOMContentLoaded", function() { document.querySelector(".current-year").innerText = new Date().getFullYear() }) </script>
Add class "current-year" to text element you want to auto-update.
Publish your site 😃

Cloneable built by @anthonyholiday