mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-06-06 05:11:45 +08:00
f6d70e5863
2. Optimization: 优化多级菜单的使用方式 3. Optimization: 支持自定义多个主頁subtitle 4. Optimization: ICP备案信息可显示备案图标
27 lines
1.0 KiB
Plaintext
27 lines
1.0 KiB
Plaintext
#footer
|
|
- 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/jerryc127/hexo-theme-butterfly')
|
|
span Butterfly
|
|
if theme.footer_custom_text
|
|
.footer_custom_text!=`${theme.footer_custom_text}`
|
|
if theme.ICP.enable
|
|
.icp
|
|
a(href=theme.ICP.url)
|
|
if theme.lazyload.enable
|
|
img.lozad(data-src=`${theme.ICP.pic}` onerror=`onerror=null;src='${theme.lodding_bg.flink}'` style="height: 30px; vertical-align: bottom;")
|
|
else
|
|
img(src=`${theme.ICP.pic}` onerror=`onerror=null;src='${theme.lodding_bg.flink}'` style="height: 30px; vertical-align: bottom;" )
|
|
span=theme.ICP.text
|