Make year in footer update automatically

This commit is contained in:
Bea 2021-03-16 20:53:35 +01:00
parent 9dfccddf8c
commit 34c911357b

View File

@ -58,7 +58,7 @@
<footer class="mind-site-footer_main unselectable">
<div>
<p>Copyright © 2019-20 ― Lorenzo Dellacà</p>
<p>Copyright &copy; 2019-<script>document.write(new Date().getFullYear().toString().substr(-2))</script> ― Lorenzo Dellacà</p>
</div>
<nav class="mind-site-footer_nav">
<a href="/policy/">Privacy Policy</a>