Revert "允许不显示footer中的since年份"

This commit is contained in:
Jerry Wong
2023-06-30 10:51:57 +08:00
committed by GitHub
parent 347f605def
commit 7dded29438

View File

@@ -2,8 +2,7 @@
if theme.footer.owner.enable
- var now = new Date()
- var nowYear = now.getFullYear()
if theme.footer.owner.since != false
if theme.footer.owner.since != nowYear
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}`