hexo-theme-ayer/layout/_partial/footer.ejs

22 lines
783 B
JavaScript
Raw Normal View History

2019-12-03 11:37:44 +00:00
<footer class="footer">
<div class="outer">
2020-04-15 14:17:11 +00:00
<ul>
2019-12-03 11:37:44 +00:00
<li>
2020-04-15 14:17:11 +00:00
Copyrights &copy;
2019-12-03 11:37:44 +00:00
<% if (theme.since && !isNaN(theme.since) && theme.since < date(new Date(), 'YYYY')) { %><%- theme.since%>-<% } %><%= date(new Date(), 'YYYY') %>
2020-04-15 14:17:11 +00:00
<i class="ri-heart-fill heart_icon"></i> <%= config.author || config.title %>
2019-12-03 11:37:44 +00:00
</li>
2020-04-15 14:17:11 +00:00
</ul>
<ul>
2019-12-03 11:37:44 +00:00
<li>
<% if (theme.pageFooter){ %>
<% var hexoLink = '<a href="https://hexo.io" target="_blank">Hexo</a>'; %>
2023-01-22 22:48:10 +00:00
<% var themeLink = '<a href="https://github.com/alkyl1978/hexo-theme-ayer" target="_blank">Ayer</a>'; %>
2020-04-15 14:17:11 +00:00
<%- __('powered_by', hexoLink) %>
<span class="division">|</span>
<%- __('theme', themeLink) %>
2019-12-03 11:37:44 +00:00
<% } %>
</li>
</ul>
</div>
</footer>