فهرست منبع

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 2 سال پیش
والد
کامیت
afe7e454b9
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  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();
 }