chore: add a space after ©

This commit is contained in:
DeepChirp 2025-07-07 13:14:38 +08:00
parent d2eacd2d8a
commit b89f165be3
No known key found for this signature in database
GPG Key ID: 56BE5964461ED59D

View File

@ -20,11 +20,12 @@ if nav
if owner.enable
- const currentYear = new Date().getFullYear()
- const sinceYear = owner.since
- // Put a non breaking space after the copyright symbol to make good sense semantically, see https://practicaltypography.com/trademark-and-copyright-symbols.html
span.copyright
if sinceYear && sinceYear != currentYear
!= `©${sinceYear} - ${currentYear} By ${config.author}`
!= `© ${sinceYear} - ${currentYear} By ${config.author}`
else
!= `©${currentYear} By ${config.author}`
!= `© ${currentYear} By ${config.author}`
if copyright.enable
- const v = copyright.version ? getVersion() : false
span.framework-info