From b89f165be39f383f3cc8570643a3aaa76039ff37 Mon Sep 17 00:00:00 2001 From: DeepChirp <66902050+DeepChirp@users.noreply.github.com> Date: Mon, 7 Jul 2025 13:14:38 +0800 Subject: [PATCH 1/2] =?UTF-8?q?chore:=20add=20a=20space=20after=20`=C2=A9`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layout/includes/footer.pug | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layout/includes/footer.pug b/layout/includes/footer.pug index 71490d2..7634c75 100644 --- a/layout/includes/footer.pug +++ b/layout/includes/footer.pug @@ -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 From dd8a18e8f4b2c93d41971a6540d05da3e3d906f1 Mon Sep 17 00:00:00 2001 From: DeepChirp <66902050+DeepChirp@users.noreply.github.com> Date: Tue, 15 Jul 2025 13:41:26 +0800 Subject: [PATCH 2/2] chore: clean up unnecessary comments --- layout/includes/footer.pug | 1 - 1 file changed, 1 deletion(-) diff --git a/layout/includes/footer.pug b/layout/includes/footer.pug index 7634c75..12dd7ce 100644 --- a/layout/includes/footer.pug +++ b/layout/includes/footer.pug @@ -20,7 +20,6 @@ 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}`