Add fallback for year generated at build time
All checks were successful
Build and Deploy to Web Server / deploy (push) Successful in 13m18s

This commit is contained in:
2025-08-13 14:35:12 +09:30
parent e6ffefaa2e
commit 63e0e1fd28

View File

@@ -32,7 +32,8 @@ import Link from "@components/Link.astro";
</ul>
</div>
<p class="p-2 text-sm">
Copyright &copy; <span id="footer-year"></span> Nathan Cummins.
Copyright &copy; <span id="footer-year">{new Date().getFullYear()}</span> Nathan
Cummins.
</p>
<div
class="statements mx-auto grid max-w-4xl grid-cols-1 gap-x-16 lg:grid-cols-2"