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

Commit

Permalink
fix(website): update copyright year 📝
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustam-Abrahamyan committed Apr 21, 2023
1 parent 06e0d86 commit df4d3b1
Showing 1 changed file with 3 additions and 1 deletion.
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; 2023 Rome Tools. All rights reserved.</p>
<p>&copy; {copyrightYear} Rome Tools. All rights reserved.</p>
</div>
</footer>
</BaseLayout>

0 comments on commit df4d3b1

Please sign in to comment.