mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 18:00:53 +08:00
Revert "允许不显示footer中的since年份"
This commit is contained in:
committed by
GitHub
Unverified
parent
347f605def
commit
7dded29438
@@ -2,8 +2,7 @@
|
|||||||
if theme.footer.owner.enable
|
if theme.footer.owner.enable
|
||||||
- var now = new Date()
|
- var now = new Date()
|
||||||
- var nowYear = now.getFullYear()
|
- var nowYear = now.getFullYear()
|
||||||
if theme.footer.owner.since != false
|
if theme.footer.owner.since && theme.footer.owner.since != nowYear
|
||||||
if theme.footer.owner.since != nowYear
|
|
||||||
.copyright!= `©${theme.footer.owner.since} - ${nowYear} By ${config.author}`
|
.copyright!= `©${theme.footer.owner.since} - ${nowYear} By ${config.author}`
|
||||||
else
|
else
|
||||||
.copyright!= `©${nowYear} By ${config.author}`
|
.copyright!= `©${nowYear} By ${config.author}`
|
||||||
|
|||||||
Reference in New Issue
Block a user