From 36f7a88b84962978dcb38907757d9840acbe3137 Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Wed, 6 Nov 2019 16:16:50 +0700 Subject: [PATCH] Added current year in email footer --- core/server/services/mega/template.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/core/server/services/mega/template.js b/core/server/services/mega/template.js index 4a70caf81c..7e8192ac48 100644 --- a/core/server/services/mega/template.js +++ b/core/server/services/mega/template.js @@ -1,6 +1,7 @@ /* eslint indent: warn, no-irregular-whitespace: warn */ -module.exports = ({post, site}) => ` - +module.exports = ({post, site}) => { + const currentYear = new Date(); + return ` @@ -839,7 +840,7 @@ figure blockquote p { - +
@@ -854,5 +855,5 @@ figure blockquote p { - -`; +`; +} \ No newline at end of file