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

33 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-12-03 11:37:44 +00:00
<footer class="footer">
<div class="outer">
<ul class="list-inline">
<li>
&copy;
<% if (theme.since && !isNaN(theme.since) && theme.since < date(new Date(), 'YYYY')) { %><%- theme.since%>-<% } %><%= date(new Date(), 'YYYY') %>
<%= config.author || config.title %>
</li>
<li>
<% if (theme.pageFooter){ %>
2019-12-29 08:44:12 +00:00
Power by
2019-12-03 11:37:44 +00:00
<% var hexoLink = '<a href="https://hexo.io" target="_blank">Hexo</a>'; %>
2019-12-05 14:17:35 +00:00
<% var themeLink = '<a href="https://github.com/Shen-Yu/hexo-theme-ayer" target="_blank">Ayer</a>'; %>
2019-12-29 08:44:12 +00:00
<%- hexoLink %> Theme <%- themeLink %>
2019-12-03 11:37:44 +00:00
<% } %>
</li>
</ul>
<ul class="list-inline">
<li>
<% if (theme.busuanzi && theme.busuanzi.enable){ %>
<%# "不蒜子统计" %>
<%- partial('post/busuanzi') %>
<% } %>
</li>
<li>
<!-- cnzz统计 -->
<% if (theme.cnzz&&theme.cnzz.enable){ %>
<script type="text/javascript" src='<%= theme.cnzz.url%>'></script>
<% } %>
</li>
</ul>
</div>
</footer>