Refactor year variable for hero templates
This commit is contained in:
parent
1830f0b8c8
commit
8dd51feaf6
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<subtitle>Leilukin's personal website.</subtitle>
|
||||
<link href="https://leilukin.neocities.org/feed.xml" rel="self"/>
|
||||
<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>
|
||||
<author>
|
||||
<name>Leilukin</name>
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -112,10 +112,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const releaseDate = new Date("2020-04-23").getFullYear();
|
||||
const currentYear = new Date().getFullYear();
|
||||
const anniversary = currentYear - releaseDate;
|
||||
const aseReleaseDate = new Date("2020-04-23").getFullYear();
|
||||
const aseAnniversary = year - aseReleaseDate;
|
||||
|
||||
if (month === 2 && day === 16)
|
||||
return `
|
||||
|
@ -123,7 +123,7 @@
|
|||
`;
|
||||
else if (month === 4 && day === 23)
|
||||
return `
|
||||
Today is the ${anniversary}-year anniversary of the release of <cite>A Summer’s End — Hong Kong 1986</cite>!
|
||||
Today is the ${aseAnniversary}-year anniversary of the release of <cite>A Summer’s End — Hong Kong 1986</cite>!
|
||||
`;
|
||||
else if (month === 8 && day === 9)
|
||||
return `
|
||||
|
|
|
@ -112,10 +112,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const releaseDate = new Date("2020-04-23").getFullYear();
|
||||
const currentYear = new Date().getFullYear();
|
||||
const anniversary = currentYear - releaseDate;
|
||||
const aseReleaseDate = new Date("2020-04-23").getFullYear();
|
||||
const aseAnniversary = year - aseReleaseDate;
|
||||
|
||||
if (month === 2 && day === 16)
|
||||
return `
|
||||
|
@ -123,7 +123,7 @@
|
|||
`;
|
||||
else if (month === 4 && day === 23)
|
||||
return `
|
||||
Today is the ${anniversary}-year anniversary of the release of <cite>A Summer’s End — Hong Kong 1986</cite>!
|
||||
Today is the ${aseAnniversary}-year anniversary of the release of <cite>A Summer’s End — Hong Kong 1986</cite>!
|
||||
`;
|
||||
else if (month === 8 && day === 9)
|
||||
return `
|
||||
|
|
|
@ -112,10 +112,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const releaseDate = new Date("2020-04-23").getFullYear();
|
||||
const currentYear = new Date().getFullYear();
|
||||
const anniversary = currentYear - releaseDate;
|
||||
const aseReleaseDate = new Date("2020-04-23").getFullYear();
|
||||
const aseAnniversary = year - aseReleaseDate;
|
||||
|
||||
if (month === 2 && day === 16)
|
||||
return `
|
||||
|
@ -123,7 +123,7 @@
|
|||
`;
|
||||
else if (month === 4 && day === 23)
|
||||
return `
|
||||
Today is the ${anniversary}-year anniversary of the release of <cite>A Summer’s End — Hong Kong 1986</cite>!
|
||||
Today is the ${aseAnniversary}-year anniversary of the release of <cite>A Summer’s End — Hong Kong 1986</cite>!
|
||||
`;
|
||||
else if (month === 8 && day === 9)
|
||||
return `
|
||||
|
|
|
@ -112,10 +112,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const releaseDate = new Date("2020-04-23").getFullYear();
|
||||
const currentYear = new Date().getFullYear();
|
||||
const anniversary = currentYear - releaseDate;
|
||||
const aseReleaseDate = new Date("2020-04-23").getFullYear();
|
||||
const aseAnniversary = year - aseReleaseDate;
|
||||
|
||||
if (month === 2 && day === 16)
|
||||
return `
|
||||
|
@ -123,7 +123,7 @@
|
|||
`;
|
||||
else if (month === 4 && day === 23)
|
||||
return `
|
||||
Today is the ${anniversary}-year anniversary of the release of <cite>A Summer’s End — Hong Kong 1986</cite>!
|
||||
Today is the ${aseAnniversary}-year anniversary of the release of <cite>A Summer’s End — Hong Kong 1986</cite>!
|
||||
`;
|
||||
else if (month === 8 && day === 9)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const cbReleaseDate = new Date("2023-04-26").getFullYear();
|
||||
const pierReleaseDate = new Date("2023-10-04").getFullYear();
|
||||
const cbAnniversary = currentYear - cbReleaseDate;
|
||||
const pierAnniversary = currentYear - pierReleaseDate;
|
||||
const cbAnniversary = year - cbReleaseDate;
|
||||
const pierAnniversary = year - pierReleaseDate;
|
||||
|
||||
if (month === 4 && day === 26)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const cbReleaseDate = new Date("2023-04-26").getFullYear();
|
||||
const pierReleaseDate = new Date("2023-10-04").getFullYear();
|
||||
const cbAnniversary = currentYear - cbReleaseDate;
|
||||
const pierAnniversary = currentYear - pierReleaseDate;
|
||||
const cbAnniversary = year - cbReleaseDate;
|
||||
const pierAnniversary = year - pierReleaseDate;
|
||||
|
||||
if (month === 4 && day === 26)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const cbReleaseDate = new Date("2023-04-26").getFullYear();
|
||||
const pierReleaseDate = new Date("2023-10-04").getFullYear();
|
||||
const cbAnniversary = currentYear - cbReleaseDate;
|
||||
const pierAnniversary = currentYear - pierReleaseDate;
|
||||
const cbAnniversary = year - cbReleaseDate;
|
||||
const pierAnniversary = year - pierReleaseDate;
|
||||
|
||||
if (month === 4 && day === 26)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const cbReleaseDate = new Date("2023-04-26").getFullYear();
|
||||
const pierReleaseDate = new Date("2023-10-04").getFullYear();
|
||||
const cbAnniversary = currentYear - cbReleaseDate;
|
||||
const pierAnniversary = currentYear - pierReleaseDate;
|
||||
const cbAnniversary = year - cbReleaseDate;
|
||||
const pierAnniversary = year - pierReleaseDate;
|
||||
|
||||
if (month === 4 && day === 26)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const cbReleaseDate = new Date("2023-04-26").getFullYear();
|
||||
const pierReleaseDate = new Date("2023-10-04").getFullYear();
|
||||
const cbAnniversary = currentYear - cbReleaseDate;
|
||||
const pierAnniversary = currentYear - pierReleaseDate;
|
||||
const cbAnniversary = year - cbReleaseDate;
|
||||
const pierAnniversary = year - pierReleaseDate;
|
||||
|
||||
if (month === 4 && day === 26)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const cbReleaseDate = new Date("2023-04-26").getFullYear();
|
||||
const pierReleaseDate = new Date("2023-10-04").getFullYear();
|
||||
const cbAnniversary = currentYear - cbReleaseDate;
|
||||
const pierAnniversary = currentYear - pierReleaseDate;
|
||||
const cbAnniversary = year - cbReleaseDate;
|
||||
const pierAnniversary = year - pierReleaseDate;
|
||||
|
||||
if (month === 4 && day === 26)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const cbReleaseDate = new Date("2023-04-26").getFullYear();
|
||||
const pierReleaseDate = new Date("2023-10-04").getFullYear();
|
||||
const cbAnniversary = currentYear - cbReleaseDate;
|
||||
const pierAnniversary = currentYear - pierReleaseDate;
|
||||
const cbAnniversary = year - cbReleaseDate;
|
||||
const pierAnniversary = year - pierReleaseDate;
|
||||
|
||||
if (month === 4 && day === 26)
|
||||
return `
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
|
@ -112,12 +112,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
|
@ -111,10 +111,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -172,7 +172,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const releaseDate = new Date("2020-04-23").getFullYear();
|
||||
const currentYear = new Date().getFullYear();
|
||||
const anniversary = currentYear - releaseDate;
|
||||
const aseReleaseDate = new Date("2020-04-23").getFullYear();
|
||||
const aseAnniversary = year - aseReleaseDate;
|
||||
|
||||
if (month === 2 && day === 16)
|
||||
return `
|
||||
|
@ -30,7 +30,7 @@
|
|||
`;
|
||||
else if (month === 4 && day === 23)
|
||||
return `
|
||||
Today is the ${anniversary}-year anniversary of the release of <cite>A Summer’s End — Hong Kong 1986</cite>!
|
||||
Today is the ${aseAnniversary}-year anniversary of the release of <cite>A Summer’s End — Hong Kong 1986</cite>!
|
||||
`;
|
||||
else if (month === 8 && day === 9)
|
||||
return `
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const cbReleaseDate = new Date("2023-04-26").getFullYear();
|
||||
const pierReleaseDate = new Date("2023-10-04").getFullYear();
|
||||
const cbAnniversary = currentYear - cbReleaseDate;
|
||||
const pierAnniversary = currentYear - pierReleaseDate;
|
||||
const cbAnniversary = year - cbReleaseDate;
|
||||
const pierAnniversary = year - pierReleaseDate;
|
||||
|
||||
if (month === 4 && day === 26)
|
||||
return `
|
||||
|
|
|
@ -24,10 +24,10 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = date.getFullYear();
|
||||
const leilukinsHubLaunchDate = new Date("2022-09-11").getFullYear();
|
||||
const leilukinsHubAnniversary = currentYear - leilukinsHubLaunchDate;
|
||||
const siteAnniversary = year - leilukinsHubLaunchDate;
|
||||
|
||||
if (month === 3 && day === 1)
|
||||
return {
|
||||
|
@ -85,7 +85,7 @@
|
|||
};
|
||||
else if (month === 9 && day === 11)
|
||||
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)
|
||||
return {
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
const date = new Date();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const kotor1ReleaseDate = new Date("2003-07-15").getFullYear();
|
||||
const kotor2ReleaseDate = new Date("2004-12-06").getFullYear();
|
||||
const kotor1Anniversary = currentYear - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = currentYear - kotor2ReleaseDate;
|
||||
const kotor1Anniversary = year - kotor1ReleaseDate;
|
||||
const kotor2Anniversary = year - kotor2ReleaseDate;
|
||||
|
||||
if (month === 7 && day === 15)
|
||||
return `
|
||||
|
|
Loading…
Reference in New Issue