mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-12 14:07:06 +08:00
first commit
This commit is contained in:
27
layout/includes/footer.pug
Normal file
27
layout/includes/footer.pug
Normal file
@@ -0,0 +1,27 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user