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

53 lines
1.6 KiB
Plaintext
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>'; %>
2019-12-05 14:17:35 +00:00
<% var themeLink = '<a href="https://github.com/Shen-Yu/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>
2020-04-15 14:17:11 +00:00
<ul>
2019-12-03 11:37:44 +00:00
<li>
<% if (theme.busuanzi && theme.busuanzi.enable){ %>
<%# "不蒜子统计" %>
<%- partial('post/busuanzi') %>
<% } %>
</li>
2020-04-15 14:17:11 +00:00
</ul>
<ul>
2020-02-27 05:55:58 +00:00
<% if (theme.icp&&theme.icp.enable){ %>
2020-04-15 14:17:11 +00:00
<li>
<a href="<%= theme.icp.url %>" target="_black" rel="nofollow"><%= theme.icp.text %></a>
2020-04-15 14:17:11 +00:00
</li>
<% } %>
</ul>
<ul>
<% if (theme.gongan&&theme.gongan.enable){ %>
<li>
<img src="<%= theme.gongan.img %>"></img>
<a href="<%= theme.gongan.url %>" target="_black" rel="nofollow"><%= theme.gongan.text %></a>
</li>
<% } %>
</ul>
2020-04-15 14:17:11 +00:00
<ul>
2019-12-03 11:37:44 +00:00
<li>
<!-- cnzz统计 -->
<% if (theme.cnzz&&theme.cnzz.enable){ %>
<script type="text/javascript" src='<%= theme.cnzz.url%>'></script>
<% } %>
</li>
</ul>
</div>
</footer>