From 80a95935f51661600fef21cd0327a5143b27a0bf Mon Sep 17 00:00:00 2001
From: MDLeom <2809763-curben@users.noreply.gitlab.com>
Date: Wed, 25 Mar 2020 01:48:04 +0000
Subject: [PATCH] refactor(layout): call Date() directly
---
themes/chameleon/layout/_partial/footer.ejs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/themes/chameleon/layout/_partial/footer.ejs b/themes/chameleon/layout/_partial/footer.ejs
index 744db84..56bbdc0 100644
--- a/themes/chameleon/layout/_partial/footer.ejs
+++ b/themes/chameleon/layout/_partial/footer.ejs
@@ -8,7 +8,7 @@
- © 2018-<%= date(new Date(), 'YYYY') %> <%= config.author %>. <%- link('https://gitlab.com/curben/blog', 'Powered by ') %> <%- link('https://hexo.io/', 'Hexo') %> with <%- link('https://gitlab.com/curben/blog/tree/master/themes/chameleon', 'Chameleon') %> theme.
Content is available under
CC-BY-SA 4.0, unless indicated otherwise.
+ © 2018-<%= new Date().getUTCFullYear() %> <%= config.author %>. <%- link('https://gitlab.com/curben/blog', 'Powered by ') %> <%- link('https://hexo.io/', 'Hexo') %> with <%- link('https://gitlab.com/curben/blog/tree/master/themes/chameleon', 'Chameleon') %> theme.
Content is available under
CC-BY-SA 4.0, unless indicated otherwise.
<% for (const i in theme.footer) { %>
<%= i %>
<% } %>