From 638450ffb644a443ca7269c9d69112e323141f47 Mon Sep 17 00:00:00 2001 From: itsmohmans Date: Sat, 30 Oct 2021 15:57:49 +0200 Subject: [PATCH] fix static year in footer --- footer.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/footer.html b/footer.html index c228c84..5000442 100644 --- a/footer.html +++ b/footer.html @@ -96,7 +96,7 @@

Contact Us

-

Copyright © 2020 Bengaluru Veeraru +

Copyright © Bengaluru Veeraru

@@ -127,6 +127,11 @@

Contact Us

} } }); + // get current year and replace it in copyright text + function copyrightYear(){ + document.getElementById("copyright_year").innerHTML = new Date().getFullYear(); + } + copyrightYear();