Refactor year variable for hero templates

This commit is contained in:
Helen Chong 2024-04-29 13:14:21 +08:00
parent 1830f0b8c8
commit 8dd51feaf6
94 changed files with 285 additions and 285 deletions

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin's Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -4,7 +4,7 @@
<subtitle>Leilukin&#39;s personal website.</subtitle> <subtitle>Leilukin&#39;s personal website.</subtitle>
<link href="https://leilukin.neocities.org/feed.xml" rel="self"/> <link href="https://leilukin.neocities.org/feed.xml" rel="self"/>
<link href="https://leilukin.neocities.org"/> <link href="https://leilukin.neocities.org"/>
<updated>2024-04-29T05:06:38Z</updated> <updated>2024-04-29T05:13:17Z</updated>
<id>https://leilukin.neocities.org</id> <id>https://leilukin.neocities.org</id>
<author> <author>
<name>Leilukin</name> <name>Leilukin</name>

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin&#39;s Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin&#39;s Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin&#39;s Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin&#39;s Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin&#39;s Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin&#39;s Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin&#39;s Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -112,10 +112,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const releaseDate = new Date("2020-04-23").getFullYear(); const aseReleaseDate = new Date("2020-04-23").getFullYear();
const currentYear = new Date().getFullYear(); const aseAnniversary = year - aseReleaseDate;
const anniversary = currentYear - releaseDate;
if (month === 2 && day === 16) if (month === 2 && day === 16)
return ` return `
@ -123,7 +123,7 @@
`; `;
else if (month === 4 && day === 23) else if (month === 4 && day === 23)
return ` return `
Today is the ${anniversary}-year anniversary of the release of <cite>A Summers End — Hong Kong 1986</cite>! Today is the ${aseAnniversary}-year anniversary of the release of <cite>A Summers End — Hong Kong 1986</cite>!
`; `;
else if (month === 8 && day === 9) else if (month === 8 && day === 9)
return ` return `

View File

@ -112,10 +112,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const releaseDate = new Date("2020-04-23").getFullYear(); const aseReleaseDate = new Date("2020-04-23").getFullYear();
const currentYear = new Date().getFullYear(); const aseAnniversary = year - aseReleaseDate;
const anniversary = currentYear - releaseDate;
if (month === 2 && day === 16) if (month === 2 && day === 16)
return ` return `
@ -123,7 +123,7 @@
`; `;
else if (month === 4 && day === 23) else if (month === 4 && day === 23)
return ` return `
Today is the ${anniversary}-year anniversary of the release of <cite>A Summers End — Hong Kong 1986</cite>! Today is the ${aseAnniversary}-year anniversary of the release of <cite>A Summers End — Hong Kong 1986</cite>!
`; `;
else if (month === 8 && day === 9) else if (month === 8 && day === 9)
return ` return `

View File

@ -112,10 +112,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const releaseDate = new Date("2020-04-23").getFullYear(); const aseReleaseDate = new Date("2020-04-23").getFullYear();
const currentYear = new Date().getFullYear(); const aseAnniversary = year - aseReleaseDate;
const anniversary = currentYear - releaseDate;
if (month === 2 && day === 16) if (month === 2 && day === 16)
return ` return `
@ -123,7 +123,7 @@
`; `;
else if (month === 4 && day === 23) else if (month === 4 && day === 23)
return ` return `
Today is the ${anniversary}-year anniversary of the release of <cite>A Summers End — Hong Kong 1986</cite>! Today is the ${aseAnniversary}-year anniversary of the release of <cite>A Summers End — Hong Kong 1986</cite>!
`; `;
else if (month === 8 && day === 9) else if (month === 8 && day === 9)
return ` return `

View File

@ -112,10 +112,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const releaseDate = new Date("2020-04-23").getFullYear(); const aseReleaseDate = new Date("2020-04-23").getFullYear();
const currentYear = new Date().getFullYear(); const aseAnniversary = year - aseReleaseDate;
const anniversary = currentYear - releaseDate;
if (month === 2 && day === 16) if (month === 2 && day === 16)
return ` return `
@ -123,7 +123,7 @@
`; `;
else if (month === 4 && day === 23) else if (month === 4 && day === 23)
return ` return `
Today is the ${anniversary}-year anniversary of the release of <cite>A Summers End — Hong Kong 1986</cite>! Today is the ${aseAnniversary}-year anniversary of the release of <cite>A Summers End — Hong Kong 1986</cite>!
`; `;
else if (month === 8 && day === 9) else if (month === 8 && day === 9)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const cbReleaseDate = new Date("2023-04-26").getFullYear(); const cbReleaseDate = new Date("2023-04-26").getFullYear();
const pierReleaseDate = new Date("2023-10-04").getFullYear(); const pierReleaseDate = new Date("2023-10-04").getFullYear();
const cbAnniversary = currentYear - cbReleaseDate; const cbAnniversary = year - cbReleaseDate;
const pierAnniversary = currentYear - pierReleaseDate; const pierAnniversary = year - pierReleaseDate;
if (month === 4 && day === 26) if (month === 4 && day === 26)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const cbReleaseDate = new Date("2023-04-26").getFullYear(); const cbReleaseDate = new Date("2023-04-26").getFullYear();
const pierReleaseDate = new Date("2023-10-04").getFullYear(); const pierReleaseDate = new Date("2023-10-04").getFullYear();
const cbAnniversary = currentYear - cbReleaseDate; const cbAnniversary = year - cbReleaseDate;
const pierAnniversary = currentYear - pierReleaseDate; const pierAnniversary = year - pierReleaseDate;
if (month === 4 && day === 26) if (month === 4 && day === 26)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const cbReleaseDate = new Date("2023-04-26").getFullYear(); const cbReleaseDate = new Date("2023-04-26").getFullYear();
const pierReleaseDate = new Date("2023-10-04").getFullYear(); const pierReleaseDate = new Date("2023-10-04").getFullYear();
const cbAnniversary = currentYear - cbReleaseDate; const cbAnniversary = year - cbReleaseDate;
const pierAnniversary = currentYear - pierReleaseDate; const pierAnniversary = year - pierReleaseDate;
if (month === 4 && day === 26) if (month === 4 && day === 26)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const cbReleaseDate = new Date("2023-04-26").getFullYear(); const cbReleaseDate = new Date("2023-04-26").getFullYear();
const pierReleaseDate = new Date("2023-10-04").getFullYear(); const pierReleaseDate = new Date("2023-10-04").getFullYear();
const cbAnniversary = currentYear - cbReleaseDate; const cbAnniversary = year - cbReleaseDate;
const pierAnniversary = currentYear - pierReleaseDate; const pierAnniversary = year - pierReleaseDate;
if (month === 4 && day === 26) if (month === 4 && day === 26)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const cbReleaseDate = new Date("2023-04-26").getFullYear(); const cbReleaseDate = new Date("2023-04-26").getFullYear();
const pierReleaseDate = new Date("2023-10-04").getFullYear(); const pierReleaseDate = new Date("2023-10-04").getFullYear();
const cbAnniversary = currentYear - cbReleaseDate; const cbAnniversary = year - cbReleaseDate;
const pierAnniversary = currentYear - pierReleaseDate; const pierAnniversary = year - pierReleaseDate;
if (month === 4 && day === 26) if (month === 4 && day === 26)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const cbReleaseDate = new Date("2023-04-26").getFullYear(); const cbReleaseDate = new Date("2023-04-26").getFullYear();
const pierReleaseDate = new Date("2023-10-04").getFullYear(); const pierReleaseDate = new Date("2023-10-04").getFullYear();
const cbAnniversary = currentYear - cbReleaseDate; const cbAnniversary = year - cbReleaseDate;
const pierAnniversary = currentYear - pierReleaseDate; const pierAnniversary = year - pierReleaseDate;
if (month === 4 && day === 26) if (month === 4 && day === 26)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const cbReleaseDate = new Date("2023-04-26").getFullYear(); const cbReleaseDate = new Date("2023-04-26").getFullYear();
const pierReleaseDate = new Date("2023-10-04").getFullYear(); const pierReleaseDate = new Date("2023-10-04").getFullYear();
const cbAnniversary = currentYear - cbReleaseDate; const cbAnniversary = year - cbReleaseDate;
const pierAnniversary = currentYear - pierReleaseDate; const pierAnniversary = year - pierReleaseDate;
if (month === 4 && day === 26) if (month === 4 && day === 26)
return ` return `

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin&#39;s Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `

View File

@ -112,12 +112,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `

View File

@ -111,10 +111,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -172,7 +172,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of Leilukin&#39;s Hub`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -19,10 +19,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const releaseDate = new Date("2020-04-23").getFullYear(); const aseReleaseDate = new Date("2020-04-23").getFullYear();
const currentYear = new Date().getFullYear(); const aseAnniversary = year - aseReleaseDate;
const anniversary = currentYear - releaseDate;
if (month === 2 && day === 16) if (month === 2 && day === 16)
return ` return `
@ -30,7 +30,7 @@
`; `;
else if (month === 4 && day === 23) else if (month === 4 && day === 23)
return ` return `
Today is the ${anniversary}-year anniversary of the release of <cite>A Summers End — Hong Kong 1986</cite>! Today is the ${aseAnniversary}-year anniversary of the release of <cite>A Summers End — Hong Kong 1986</cite>!
`; `;
else if (month === 8 && day === 9) else if (month === 8 && day === 9)
return ` return `

View File

@ -19,12 +19,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const cbReleaseDate = new Date("2023-04-26").getFullYear(); const cbReleaseDate = new Date("2023-04-26").getFullYear();
const pierReleaseDate = new Date("2023-10-04").getFullYear(); const pierReleaseDate = new Date("2023-10-04").getFullYear();
const cbAnniversary = currentYear - cbReleaseDate; const cbAnniversary = year - cbReleaseDate;
const pierAnniversary = currentYear - pierReleaseDate; const pierAnniversary = year - pierReleaseDate;
if (month === 4 && day === 26) if (month === 4 && day === 26)
return ` return `

View File

@ -24,10 +24,10 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = date.getFullYear();
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear(); const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate; const siteAnniversary = year - leilukinsHubLaunchDate;
if (month === 3 && day === 1) if (month === 3 && day === 1)
return { return {
@ -85,7 +85,7 @@
}; };
else if (month === 9 && day === 11) else if (month === 9 && day === 11)
return { return {
blurb: `Today is the ${leilukinsHubAnniversary}-year anniversary of the launch of Leilukin's Hub` blurb: `Today is the ${siteAnniversary}-year anniversary of the launch of {{ sitemeta.siteName }}`
}; };
else if (month === 9 && day === 23) else if (month === 9 && day === 23)
return { return {

View File

@ -19,12 +19,12 @@
const date = new Date(); const date = new Date();
const month = date.getMonth() + 1; const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const year = date.getFullYear();
const currentYear = new Date().getFullYear();
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear(); const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear(); const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
const kotor1Anniversary = currentYear - kotor1ReleaseDate; const kotor1Anniversary = year - kotor1ReleaseDate;
const kotor2Anniversary = currentYear - kotor2ReleaseDate; const kotor2Anniversary = year - kotor2ReleaseDate;
if (month === 7 && day === 15) if (month === 7 && day === 15)
return ` return `