mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 18:50:53 +08:00
26 lines
918 B
Plaintext
26 lines
918 B
Plaintext
#footer-wrap
|
|
if theme.footer.owner.enable
|
|
- var now = new Date()
|
|
- var nowYear = now.getFullYear()
|
|
if theme.footer.owner.since && theme.footer.owner.since != nowYear
|
|
.copyright!= `©${theme.footer.owner.since} - ${nowYear} By ${config.author}`
|
|
else
|
|
.copyright!= `©${nowYear} By ${config.author}`
|
|
if theme.footer.copyright
|
|
.framework-info
|
|
span= _p('footer.framework') + ' '
|
|
a(href='https://hexo.io')
|
|
span Hexo
|
|
span.footer-separator |
|
|
span= _p('footer.theme') + ' '
|
|
a(href='https://github.com/jerryc127/hexo-theme-butterfly')
|
|
span Butterfly
|
|
if theme.footer.custom_text
|
|
.footer_custom_text!=`${theme.footer.custom_text}`
|
|
if theme.footer.ICP.enable
|
|
.icp
|
|
a(href=theme.footer.ICP.url)
|
|
if theme.footer.ICP.icon
|
|
img.icp-icon(src=url_for(theme.footer.ICP.icon))
|
|
span=theme.footer.ICP.text
|