mirror of https://gitlab.com/curben/blog
refactor(layout): call Date() directly
This commit is contained in:
parent
66f5700b10
commit
80a95935f5
|
@ -8,7 +8,7 @@
|
|||
<hr>
|
||||
<% } %>
|
||||
<div id="copyright" class="copyright">
|
||||
© 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. <br/>Content is available under <a href="https://creativecommons.org/licenses/by-sa/4.0/" rel="license" itemprop="license">CC-BY-SA 4.0</a>, unless indicated otherwise.<br/>
|
||||
© 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. <br/>Content is available under <a href="https://creativecommons.org/licenses/by-sa/4.0/" rel="license" itemprop="license">CC-BY-SA 4.0</a>, unless indicated otherwise.<br/>
|
||||
<% for (const i in theme.footer) { %>
|
||||
<a class="main-nav-link" href="<%- url_for(theme.footer[i]) %>"><%= i %></a>
|
||||
<% } %>
|
||||
|
|
Loading…
Reference in New Issue