Files
hexo-theme-butterfly/layout/includes/footer.pug
T
zhengql f6d70e5863 1. Feature: 可设置首页背景图片屏占比
2. Optimization: 优化多级菜单的使用方式
3. Optimization: 支持自定义多个主頁subtitle
4. Optimization: ICP备案信息可显示备案图标
2019-09-19 23:30:21 +08:00

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