hexo-theme-ayer/layout/_partial/footer.ejs
alleks c2f6f674b0
Some checks failed
continuous-integration/drone/push Build is failing
update
2023-03-19 18:53:58 +03:00

22 lines
783 B
JavaScript

<footer class="footer">
<div class="outer">
<ul>
<li>
Copyrights &copy;
<% 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>