Skip to content

Commit 0d1f656

Browse files
committed
update footer year
1 parent 154cfd3 commit 0d1f656

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/src/components/Footer.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
import { Icon } from 'astro-icon';
3+
4+
const year = new Date().getFullYear();
35
---
46

57
<footer>
@@ -53,7 +55,7 @@ import { Icon } from 'astro-icon';
5355
<p
5456
class="mt-10 text-center text-xs leading-5 text-gray-500 dark:text-gray-400"
5557
>
56-
&copy; 2020-2023 notiz.dev. All rights reserved.
58+
&copy; 2020-{year} notiz.dev. All rights reserved.
5759
</p>
5860
</div>
5961
</footer>

0 commit comments

Comments
 (0)