Ver Fonte

Remove copyright date printing from email_me.js

Now that Hugo is adding the copyright date to the footer, no need to
have the js do it.
Apis Necros há 2 anos atrás
pai
commit
afe7e454b9
1 ficheiros alterados com 0 adições e 2 exclusões
  1. 0 2
      static/js/email_me.js

+ 0 - 2
static/js/email_me.js

@@ -1,10 +1,8 @@
 const address = "20u21c24h10w23i24 4t13s15s9 3p1";
 const footerEmail = document.getElementById("footer-email");
-const footerDate = document.getElementById("footer-date");
 
 if (footerEmail) {
     const decoded = decode(address).split(" ");
     footerEmail.href = "mailto:"+decoded[0]+"@"+decoded[1]+"."+decoded[2];
     footerEmail.textContent = decoded[0]+"@"+decoded[1]+"."+decoded[2];
-    footerDate.textContent = new Date().getFullYear();
 }