修改部分用语
parent
5ee7976c4a
commit
ca9b16ee10
@ -1,24 +1,25 @@
|
||||
#footer-wrap
|
||||
- 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
|
||||
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.driven') + ' '
|
||||
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.ICP.enable
|
||||
if theme.footer.custom_text
|
||||
.footer.custom_text!=`${theme.footer.custom_text}`
|
||||
if theme.footer.ICP.enable
|
||||
.icp
|
||||
a(href=theme.ICP.url)
|
||||
if theme.ICP.icon
|
||||
img.icp-icon(src=url_for(theme.ICP.icon))
|
||||
span=theme.ICP.text
|
||||
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
|
Loading…
Reference in New Issue