Our footers (Side Nav) currently use the copyright year variable that updates automatically every year (© yyyy), but this means that we need to manually repost all of the content on our website every year just because the year changes.
I'd like to change the master page, so that the copyright year on our live website updates automatically on January 1st, without any manual intervention.
I was thinking of adding javascript or similar to the master page, for example:
Code: Select all
<script>document.write(new Date().getFullYear());</script>.
Alternatively, I'm open to any suggestion on how to get the footer in our live website to update the copyright year automatically. We host on Google Cloud Platform, if that matters.
Thanks in advance!