22 lines
783 B
JavaScript
22 lines
783 B
JavaScript
<footer class="footer">
|
|
<div class="outer">
|
|
<ul>
|
|
<li>
|
|
Copyrights ©
|
|
<% if (theme.since && !isNaN(theme.since) && theme.since < date(new Date(), 'YYYY')) { %><%- theme.since%>-<% } %><%= date(new Date(), 'YYYY') %>
|
|
<i class="ri-heart-fill heart_icon"></i> <%= config.author || config.title %>
|
|
</li>
|
|
</ul>
|
|
<ul>
|
|
<li>
|
|
<% if (theme.pageFooter){ %>
|
|
<% var hexoLink = '<a href="https://hexo.io" target="_blank">Hexo</a>'; %>
|
|
<% var themeLink = '<a href="https://github.com/alkyl1978/hexo-theme-ayer" target="_blank">Ayer</a>'; %>
|
|
<%- __('powered_by', hexoLink) %>
|
|
<span class="division">|</span>
|
|
<%- __('theme', themeLink) %>
|
|
<% } %>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</footer> |