2022-09-23 17:38:19 +08:00
|
|
|
<%
|
2022-11-11 14:11:01 +08:00
|
|
|
const {
|
|
|
|
since: f_since,
|
|
|
|
icp: f_icp,
|
|
|
|
site_deploy: f_site_deploy
|
|
|
|
} = theme.footer
|
2022-09-23 17:38:19 +08:00
|
|
|
const { author: bi_author } = theme.base_info
|
|
|
|
const { author: hexo_author } = config
|
|
|
|
const { site_uv: bsz_site_uv, site_pv: bsz_site_pv, enable: bsz_enable } = theme.website_count.busuanzi_count
|
|
|
|
%>
|
2020-04-01 10:14:18 +08:00
|
|
|
<footer class="footer">
|
|
|
|
<div class="info-container">
|
|
|
|
<div class="copyright-info info-item">
|
2020-11-18 12:24:39 +08:00
|
|
|
©
|
2022-09-23 17:38:19 +08:00
|
|
|
<% if (f_since) { %>
|
|
|
|
<span><%= f_since %></span> -
|
|
|
|
<% } %>
|
|
|
|
<%= date(new Date(), 'YYYY') %>
|
|
|
|
<% if (bi_author || hexo_author) { %>
|
|
|
|
<i class="fas fa-heart icon-animate"></i>
|
|
|
|
<a href="/"><%= bi_author || hexo_author %></a>
|
2020-11-18 12:24:39 +08:00
|
|
|
<% } %>
|
2020-04-01 10:14:18 +08:00
|
|
|
</div>
|
2022-09-23 17:38:19 +08:00
|
|
|
<% if (bsz_enable === true) { %>
|
|
|
|
<script async <%= theme.pjax.enable === true ? 'data-pjax' : '' %>
|
|
|
|
src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
|
2020-04-01 10:14:18 +08:00
|
|
|
<div class="website-count info-item">
|
2022-09-23 17:38:19 +08:00
|
|
|
<% if (bsz_site_uv) { %>
|
2022-09-30 10:51:42 +08:00
|
|
|
<%- __('site_uv') %> <span id="busuanzi_value_site_uv"></span> 
|
2020-04-01 10:14:18 +08:00
|
|
|
<% } %>
|
2022-09-23 17:38:19 +08:00
|
|
|
<% if (bsz_site_pv) { %>
|
2022-09-30 10:51:42 +08:00
|
|
|
<%- __('site_pv') %> <span id="busuanzi_value_site_pv"></span>
|
2020-04-01 10:14:18 +08:00
|
|
|
<% } %>
|
|
|
|
</div>
|
|
|
|
<% } %>
|
2020-09-11 15:06:38 +08:00
|
|
|
<div class="theme-info info-item">
|
2023-01-10 15:46:08 +08:00
|
|
|
<%- __('powered_by', '<a target="_blank" href="https://hexo.io">Hexo</a>') %> | <%- __('theme') %> <a class="theme-version" target="_blank" href="https://github.com/XPoet/hexo-theme-keep">Keep v3.6.0</a>
|
2020-09-11 15:06:38 +08:00
|
|
|
</div>
|
2022-09-23 17:38:19 +08:00
|
|
|
<% if (f_icp) { %>
|
|
|
|
<div class="icp-info info-item">
|
|
|
|
<a target="_blank" rel="nofollow"
|
|
|
|
href="https://beian.miit.gov.cn"
|
|
|
|
>
|
|
|
|
<%= f_icp %>
|
|
|
|
</a>
|
|
|
|
</div>
|
2021-05-17 15:01:47 +08:00
|
|
|
<% } %>
|
2022-11-11 14:11:01 +08:00
|
|
|
<% if (f_site_deploy?.enable === true && f_site_deploy?.provider !== '') { %>
|
|
|
|
<div class="deploy-info info-item">
|
|
|
|
<% if (f_site_deploy?.url) { %>
|
|
|
|
<a target="_blank" rel="nofollow" href="<%= f_site_deploy?.url %>">
|
|
|
|
<% } %>
|
|
|
|
<%- __(
|
|
|
|
'footer_deploy',
|
|
|
|
'<span class="tooltip" data-content="' + __('deploy_provider.' + f_site_deploy?.provider) + '"><img src="/images/deploy-provider/' + f_site_deploy?.provider + '.png"></span>'
|
|
|
|
) %>
|
|
|
|
<% if (f_site_deploy?.url) { %>
|
|
|
|
</a>
|
|
|
|
<% } %>
|
2022-04-15 21:02:52 +08:00
|
|
|
</div>
|
|
|
|
<% } %>
|
2020-04-01 10:14:18 +08:00
|
|
|
</div>
|
2020-09-02 09:40:02 +08:00
|
|
|
</footer>
|