diff options
Diffstat (limited to 'src/layouts')
| -rw-r--r-- | src/layouts/Default.astro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/layouts/Default.astro b/src/layouts/Default.astro index 25a7ce4..17e9a92 100644 --- a/src/layouts/Default.astro +++ b/src/layouts/Default.astro @@ -7,6 +7,7 @@ interface Props { const { title = "Andrew Lee", description = "Andrew Lee Website" } = Astro.props; import { ViewTransitions } from 'astro:transitions'; import Navbar from '../components/Navbar.vue'; +const date = new Date(); --- <!doctype html> @@ -42,7 +43,7 @@ import Navbar from '../components/Navbar.vue'; <slot /> <footer> <p><a href="https://github.com/Alee14/personal-website">Made with {Astro.generator} and Hosted on Vercel</a></p> - <p>Copyright © 2024 Andrew Lee</p> + <p>Copyright © {date.getFullYear()} Andrew Lee</p> </footer> </div> </body> |
