Files
hexo-theme-butterfly/layout/includes/footer.pug
2019-06-04 22:37:36 +08:00

28 lines
898 B
Plaintext

#footer.layout
- var now = new Date()
- var nowYear = now.getFullYear()
if theme.since && theme.since != nowYear
.copyright!= `©${theme.since} - ${nowYear} By ${config.author}`
else
.copyright!= `©${nowYear} By ${config.author}`
if theme.footer_copyright.enable
.framework-info
span= _p('footer.driven') + ' '
a(href='http://hexo.io')
span Hexo
span.footer-separator |
span= _p('footer.theme') + ' '
a(href='https://github.com/Molunerfinn/hexo-theme-melody')
span Melody
//- if theme.runtimeshow.enable
//- script(src=url_for('js/runtimeshow.js'))
//- div#span_dt_dt
if theme.footer_custom_text
.footer_custom_text!=`${theme.footer_custom_text}`
if theme.ICP.enable
.icp
a(href=theme.ICP.url)
span=theme.ICP.text
//- if theme.busuanzi.enable
//- include ./count/busuanzi.pug