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

30 lines
1.6 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.since) { %>
2021-01-21 20:05:30 +08:00
<span><%= theme.footer.since %></span>&nbsp;-&nbsp;
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>
</div>
2020-09-02 09:40:02 +08:00
</footer>