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

44 lines
2.4 KiB
Plaintext
Raw Normal View History

<footer class="footer">
<div class="info-container">
<div class="copyright-info info-item">
2020-11-18 12:24:39 +08:00
&copy;
<% if (theme.footer.hasOwnProperty('since') && theme.footer.since) { %>
2021-06-02 15:37:14 +08:00
<span><%= theme.footer.since %></span>
-
2020-11-18 12:24:39 +08:00
<% } %>
2021-01-21 20:05:30 +08:00
<%= date(new Date(), 'YYYY') %>&nbsp;<i class="fas fa-heart icon-animate"></i>&nbsp;<a href="/"><%= theme.base_info.author || config.author %></a>
</div>
<% if (theme.website_count.busuanzi_count.enable === true) { %>
<script async <%= theme.pjax.enable === true ? 'data-pjax' : '' %> src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<div class="website-count info-item">
2020-04-30 12:24:57 +08:00
<% if (theme.website_count.busuanzi_count.site_uv) { %>
<span id="busuanzi_container_site_uv">
2021-01-21 20:05:30 +08:00
<%- __('site_uv') %>&nbsp;<span id="busuanzi_value_site_uv"></span>&ensp;
</span>
<% } %>
2020-04-30 12:24:57 +08:00
<% if (theme.website_count.busuanzi_count.site_pv) { %>
<span id="busuanzi_container_site_pv">
2021-01-21 20:05:30 +08:00
<%- __('site_pv') %>&nbsp;<span id="busuanzi_value_site_pv"></span>
</span>
<% } %>
</div>
<% } %>
<div class="theme-info info-item">
2021-01-21 20:05:30 +08:00
<%- __('powered_by', '<a target="_blank" href="https://hexo.io">Hexo</a>') %>&nbsp;|&nbsp;<%- __('theme') %>&nbsp;<a class="theme-version" target="_blank" href="https://github.com/XPoet/hexo-theme-keep">Keep v<%= theme.version %></a>
</div>
2021-01-28 23:29:20 +08:00
<% if (theme.footer.hasOwnProperty('icp') && theme.footer.icp) { %>
2021-01-28 21:25:57 +08:00
<div class="icp-info info-item"><a target="_blank" rel="nofollow" href="https://beian.miit.gov.cn"><%= theme.footer.icp %></a></div>
<% } %>
2021-05-17 15:01:47 +08:00
<% if (theme.footer.hasOwnProperty('upyun') && theme.footer.upyun) { %>
<div class="icp-info info-item"><a target="_blank" rel="nofollow" href="<%= theme.footer.upyun %>">本网站由
<img src="/images/upyun.png" alt="upyun" srcset="" height="24" style="position:relative; top:6px">
提供CDN加速/云存储服务</a></div>
<% } %>
2022-04-15 21:02:52 +08:00
<% if (theme.footer.hasOwnProperty('code') && theme.footer.code) { %>
<div class="code-info info-item">
<%- theme.footer.code %>
</div>
<% } %>
</div>
2020-09-02 09:40:02 +08:00
</footer>