From fdeaa659c47d426674f237f41533a9fbe1313919 Mon Sep 17 00:00:00 2001 From: Maledong Date: Fri, 15 Mar 2019 07:32:39 +0800 Subject: [PATCH] Remove the 'copyright' and 'copyright_year.js' (#2151) Due to the discussion at https://github.com/nodejs/TSC/issues/195#issuecomment-374443984, we shouldn't include an auto copyright_year and its realted token place. So we should remove it. --- layouts/partials/footer.hbs | 2 +- scripts/helpers/copyright-year.js | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 scripts/helpers/copyright-year.js diff --git a/layouts/partials/footer.hbs b/layouts/partials/footer.hbs index 0053f5e462b03..637625ff9ddfc 100644 --- a/layouts/partials/footer.hbs +++ b/layouts/partials/footer.hbs @@ -15,7 +15,7 @@ -

© {{copyright}} Node.js Foundation. All Rights Reserved. Portions of this site originally © {{copyright}} Joyent.

+

© Node.js Foundation. All Rights Reserved. Portions of this site originally © Joyent.

Node.js is a trademark of Joyent, Inc. and is used with its permission. Please review the Trademark Guidelines of the Node.js Foundation.

Linux Foundation is a registered trademark of The Linux Foundation.

Linux is a registered trademark of Linus Torvalds.

diff --git a/scripts/helpers/copyright-year.js b/scripts/helpers/copyright-year.js deleted file mode 100644 index d89e9ea1d1799..0000000000000 --- a/scripts/helpers/copyright-year.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict' - -module.exports = () => { - return (new Date()).getUTCFullYear() -}