mirror of https://github.com/Nofated095/blog
37 lines
1.5 KiB
Plaintext
37 lines
1.5 KiB
Plaintext
<footer class="text-center">
|
|
<!-- footer copyright -->
|
|
<%- fragment_cache('footer_copyright_text', () => {
|
|
return `
|
|
<p class="footer-copyright mb-0">Copyright © <span id="copyright-year"></span>
|
|
<a class="footer-copyright-a" href="${config.url}">${config.title}</a>
|
|
</p>`
|
|
}) %>
|
|
|
|
<!-- footer custom text -->
|
|
<p class="footer-text mb-0">
|
|
<%- fragment_cache('footer_custom_text', () => {
|
|
if (theme.footer.custom_text) {
|
|
if (Array.isArray(theme.footer.custom_text)) {
|
|
return theme.footer.custom_text.join('<br>');
|
|
} else {
|
|
return theme.footer.custom_text;
|
|
}
|
|
}
|
|
}) %>
|
|
</p>
|
|
<!-- footer develop info -->
|
|
<p class="footer-develop mb-0">
|
|
<%- fragment_cache('footer_counter_text', () => {
|
|
if (theme.busuanzi.enable) return partial('_plugin/busuanzi/footer_counter');
|
|
return '';
|
|
}) %>
|
|
|
|
<% if ( (theme.valine_counter.enable) && (theme.valine_counter.site_pv.enable) ) { %>
|
|
<%- partial('_plugin/valine-counter/footer') %>
|
|
<% } %>
|
|
Powered by <!--
|
|
--><a href="https://hexo.io" target="_blank" class="footer-develop-a" rel="external nofollow noopener noreferrer">Hexo</a><span class="footer-develop-divider"></span>Theme - <!--
|
|
--><a href="https://github.com/SukkaW/hexo-theme-suka" target="_blank" class="footer-develop-a" rel="external noopener">Suka</a>
|
|
</p>
|
|
</footer>
|