From 0e38aab4cafa71f960c6d752eb52ab6d32f6ebe5 Mon Sep 17 00:00:00 2001 From: Sat Naing Date: Mon, 19 Sep 2022 14:46:53 +0630 Subject: [PATCH] Update copyright year with dynamic current year at the footer --- src/components/Footer.astro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 6cf6a3b..2f2dd86 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -2,6 +2,8 @@ import Hr from "./Hr.astro"; import LinkButton from "./LinkButton.astro"; import socialLinks from "@utils/socialLinks"; + +const currentYear = new Date().getFullYear(); ---