mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 20:30:53 +08:00
fix: 修復valine背景圖片再次出現時,由左到右移動的bugs improvement: 調大sidebar的寬度 improvement: html結構調整,mobile-sidebar改為sidebar/search調整 remove: 刪除多餘的css和pug
24 lines
905 B
Plaintext
24 lines
905 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')= 'Hexo'
|
|
span.footer-separator |
|
|
span= _p('footer.theme') + ' '
|
|
a(href='https://github.com/jerryc127/hexo-theme-butterfly')= '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) alt='ICP')
|
|
span=theme.footer.ICP.text
|