[fix] format the code

This commit is contained in:
PrinOrange
2024-08-14 11:24:25 +08:00
parent 805c41d3a4
commit dde932728a
5 changed files with 31 additions and 10 deletions

View File

@@ -14,4 +14,4 @@ export const PostURL = (postId: string) => `https://${Config.SiteDomain}/blog/${
export const SearchURL = (keyword: string) => `https://${Config.SiteDomain}/search/?q=${keyword}`;
const year = getCurrentTime().year;
export const CopyrightAnnouncement = `COPYRIGHT © ${Config.YearStart}-${year} ${Config.AuthorName} ALL RIGHTS RESERVED`;
export const CopyrightAnnouncement = `COPYRIGHT © ${Config.YearStart === year ? year : `${Config.YearStart}-${year}`} ${Config.AuthorName} ALL RIGHTS RESERVED`;