Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

fix(website): update copyright year 📝 #4396

Merged
merged 1 commit into from
Apr 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion website/src/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ if (frontmatter.parent) {
throw new Error(`Could not find parent page ${frontmatter.parent}`);
}
}

const copyrightYear = new Date().getFullYear();
---

<BaseLayout sidebarEnabled={sidebarEnabled} {...Astro.props}>
Expand All @@ -58,7 +60,7 @@ if (frontmatter.parent) {
<div class="container footer-inner">
<h1 id="footer" class="sr-only">Footer</h1>

<p>&copy; 2022 Rome Tools. All rights reserved.</p>
<p>&copy; {copyrightYear} Rome Tools. All rights reserved.</p>
</div>
</footer>
</BaseLayout>