From 8dd51feaf63a71d712819745184b3e55bcf70618 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Mon, 29 Apr 2024 13:14:21 +0800 Subject: [PATCH] Refactor year variable for hero templates --- _site/about/index.html | 6 +++--- _site/archive/index.html | 6 +++--- .../anti-harry-potter-jk-rowling-masterlist/index.html | 6 +++--- .../designated-lesbian-syndrome-fandom/index.html | 6 +++--- _site/articles/index.html | 6 +++--- .../kotor2-modder-interview-ars-technica/index.html | 6 +++--- .../lgbtq-booklet-interview-misi-bawang/index.html | 6 +++--- _site/articles/my-dislike-of-shipping-culture/index.html | 6 +++--- _site/blog/index.html | 6 +++--- _site/blog/page/2/index.html | 6 +++--- _site/blog/page/3/index.html | 6 +++--- .../2023-01-26-new-year-leilukins-hub-redesign/index.html | 6 +++--- .../2023-01-28-leilukins-hub-now-has-a-blog/index.html | 6 +++--- .../index.html | 6 +++--- .../index.html | 6 +++--- .../index.html | 6 +++--- .../index.html | 6 +++--- .../index.html | 6 +++--- .../index.html | 6 +++--- .../index.html | 6 +++--- .../index.html | 6 +++--- .../index.html | 6 +++--- .../index.html | 6 +++--- .../index.html | 6 +++--- _site/blog/posts/index.html | 6 +++--- _site/categories/a-summers-end/index.html | 6 +++--- _site/categories/anti-harry-potter/index.html | 6 +++--- _site/categories/anti-jk-rowling/index.html | 6 +++--- _site/categories/cassette-beasts/index.html | 6 +++--- _site/categories/dracula-daily/index.html | 6 +++--- _site/categories/fandom-culture/index.html | 6 +++--- _site/categories/index.html | 6 +++--- _site/categories/lesbian/index.html | 6 +++--- _site/categories/life-updates/index.html | 6 +++--- _site/categories/modding/index.html | 6 +++--- _site/categories/my-birthday/index.html | 6 +++--- _site/categories/my-interviews/index.html | 6 +++--- _site/categories/site-anniversary/index.html | 6 +++--- _site/categories/site-updates/index.html | 6 +++--- _site/categories/star-wars-kotor-2/index.html | 6 +++--- _site/categories/star-wars-kotor/index.html | 6 +++--- _site/changelogs/2022/index.html | 6 +++--- _site/changelogs/2023/index.html | 6 +++--- _site/changelogs/2024/index.html | 6 +++--- _site/changelogs/index.html | 6 +++--- _site/changelogs/layouts/index.html | 6 +++--- _site/changelogs/page/2/index.html | 6 +++--- _site/changelogs/page/3/index.html | 6 +++--- _site/changelogs/page/4/index.html | 6 +++--- _site/changelogs/page/5/index.html | 6 +++--- _site/feed.xml | 2 +- _site/index.html | 6 +++--- _site/links/index.html | 6 +++--- _site/now/index.html | 6 +++--- _site/projects/index.html | 6 +++--- _site/projects/kotor1mods/index.html | 6 +++--- _site/projects/kotor2mods/index.html | 6 +++--- _site/projects/playlists/index.html | 6 +++--- _site/shrines/asummersend/gallery/index.html | 8 ++++---- _site/shrines/asummersend/index.html | 8 ++++---- _site/shrines/asummersend/playlists/index.html | 8 ++++---- _site/shrines/asummersend/trivia/index.html | 8 ++++---- .../cassette-beasts-more-than-a-pokemon-clone/index.html | 6 +++--- _site/shrines/cassettebeasts/articles/index.html | 6 +++--- _site/shrines/cassettebeasts/featured/index.html | 6 +++--- _site/shrines/cassettebeasts/gamelog/index.html | 6 +++--- _site/shrines/cassettebeasts/index.html | 6 +++--- _site/shrines/cassettebeasts/resources/index.html | 6 +++--- _site/shrines/cassettebeasts/trivia/index.html | 6 +++--- _site/shrines/index.html | 6 +++--- .../articles/arren-kae-kreia-theory/index.html | 6 +++--- .../articles/faq-same-gender-romance-mods/index.html | 6 +++--- .../articles/handmaiden-sisters-mother/index.html | 6 +++--- _site/shrines/starwarskotor/articles/index.html | 6 +++--- .../juhani-hostility-towards-canderous/index.html | 6 +++--- .../articles/juhani-lesbian-evidence/index.html | 6 +++--- .../articles/keep-juhani-a-lesbian/index.html | 6 +++--- .../articles/partyswap-management-takeover/index.html | 6 +++--- .../articles/tslrcm-first-kotor2-playthrough/index.html | 6 +++--- _site/shrines/starwarskotor/guides/index.html | 6 +++--- .../guides/kotor-juhani-romance-guide/index.html | 6 +++--- .../guides/kotor-redeeming-bastila-guide/index.html | 6 +++--- .../guides/kotor-sandral-matale-feud-guide/index.html | 6 +++--- _site/shrines/starwarskotor/index.html | 6 +++--- _site/shrines/starwarskotor/resources/index.html | 6 +++--- .../resources/kotor-same-gender-romance-mods/index.html | 6 +++--- .../index.html | 6 +++--- .../resources/tslrcm-m478ep-modules-music/index.html | 6 +++--- _site/shrines/starwarskotor/universes/index.html | 6 +++--- _site/sitemap/index.html | 6 +++--- src/_includes/asummersend/hero.njk | 8 ++++---- src/_includes/cassettebeasts/hero.njk | 6 +++--- src/_includes/main/hero.njk | 6 +++--- src/_includes/starwarskotor/hero.njk | 6 +++--- 94 files changed, 285 insertions(+), 285 deletions(-) diff --git a/_site/about/index.html b/_site/about/index.html index 6200ac1f..000e90fe 100644 --- a/_site/about/index.html +++ b/_site/about/index.html @@ -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 { diff --git a/_site/archive/index.html b/_site/archive/index.html index c9a27dfc..5358a67f 100644 --- a/_site/archive/index.html +++ b/_site/archive/index.html @@ -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 { diff --git a/_site/articles/anti-harry-potter-jk-rowling-masterlist/index.html b/_site/articles/anti-harry-potter-jk-rowling-masterlist/index.html index def69ef4..0c11bdc4 100644 --- a/_site/articles/anti-harry-potter-jk-rowling-masterlist/index.html +++ b/_site/articles/anti-harry-potter-jk-rowling-masterlist/index.html @@ -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 { diff --git a/_site/articles/designated-lesbian-syndrome-fandom/index.html b/_site/articles/designated-lesbian-syndrome-fandom/index.html index 5fb2a0dd..5823ac71 100644 --- a/_site/articles/designated-lesbian-syndrome-fandom/index.html +++ b/_site/articles/designated-lesbian-syndrome-fandom/index.html @@ -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 { diff --git a/_site/articles/index.html b/_site/articles/index.html index 17ce5aa7..e3148969 100644 --- a/_site/articles/index.html +++ b/_site/articles/index.html @@ -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 { diff --git a/_site/articles/kotor2-modder-interview-ars-technica/index.html b/_site/articles/kotor2-modder-interview-ars-technica/index.html index dbdde8c7..ed49af70 100644 --- a/_site/articles/kotor2-modder-interview-ars-technica/index.html +++ b/_site/articles/kotor2-modder-interview-ars-technica/index.html @@ -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 { diff --git a/_site/articles/lgbtq-booklet-interview-misi-bawang/index.html b/_site/articles/lgbtq-booklet-interview-misi-bawang/index.html index 3858dc38..d276d0e0 100644 --- a/_site/articles/lgbtq-booklet-interview-misi-bawang/index.html +++ b/_site/articles/lgbtq-booklet-interview-misi-bawang/index.html @@ -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 { diff --git a/_site/articles/my-dislike-of-shipping-culture/index.html b/_site/articles/my-dislike-of-shipping-culture/index.html index 5d4e587e..abd93fd8 100644 --- a/_site/articles/my-dislike-of-shipping-culture/index.html +++ b/_site/articles/my-dislike-of-shipping-culture/index.html @@ -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 { diff --git a/_site/blog/index.html b/_site/blog/index.html index 666a0d74..489d8af3 100644 --- a/_site/blog/index.html +++ b/_site/blog/index.html @@ -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 { diff --git a/_site/blog/page/2/index.html b/_site/blog/page/2/index.html index c5388e33..b615bf56 100644 --- a/_site/blog/page/2/index.html +++ b/_site/blog/page/2/index.html @@ -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 { diff --git a/_site/blog/page/3/index.html b/_site/blog/page/3/index.html index a03ad4f8..0fcfe098 100644 --- a/_site/blog/page/3/index.html +++ b/_site/blog/page/3/index.html @@ -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 { diff --git a/_site/blog/posts/2023-01-26-new-year-leilukins-hub-redesign/index.html b/_site/blog/posts/2023-01-26-new-year-leilukins-hub-redesign/index.html index e8edb4e7..a45944a4 100644 --- a/_site/blog/posts/2023-01-26-new-year-leilukins-hub-redesign/index.html +++ b/_site/blog/posts/2023-01-26-new-year-leilukins-hub-redesign/index.html @@ -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 { diff --git a/_site/blog/posts/2023-01-28-leilukins-hub-now-has-a-blog/index.html b/_site/blog/posts/2023-01-28-leilukins-hub-now-has-a-blog/index.html index 1f4a439d..d1927892 100644 --- a/_site/blog/posts/2023-01-28-leilukins-hub-now-has-a-blog/index.html +++ b/_site/blog/posts/2023-01-28-leilukins-hub-now-has-a-blog/index.html @@ -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 { diff --git a/_site/blog/posts/2023-05-09-onboard-the-dracula-daily-hype-train/index.html b/_site/blog/posts/2023-05-09-onboard-the-dracula-daily-hype-train/index.html index 5c2b8675..8c71d3d1 100644 --- a/_site/blog/posts/2023-05-09-onboard-the-dracula-daily-hype-train/index.html +++ b/_site/blog/posts/2023-05-09-onboard-the-dracula-daily-hype-train/index.html @@ -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 { diff --git a/_site/blog/posts/2023-06-23-june-2023-leilukins-hub-layout-rewrite/index.html b/_site/blog/posts/2023-06-23-june-2023-leilukins-hub-layout-rewrite/index.html index 8f1e49b3..7034e707 100644 --- a/_site/blog/posts/2023-06-23-june-2023-leilukins-hub-layout-rewrite/index.html +++ b/_site/blog/posts/2023-06-23-june-2023-leilukins-hub-layout-rewrite/index.html @@ -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 { diff --git a/_site/blog/posts/2023-07-28-my-first-birthday-after-the-launch-of-leilukins-hub/index.html b/_site/blog/posts/2023-07-28-my-first-birthday-after-the-launch-of-leilukins-hub/index.html index 4f2cef22..65795e10 100644 --- a/_site/blog/posts/2023-07-28-my-first-birthday-after-the-launch-of-leilukins-hub/index.html +++ b/_site/blog/posts/2023-07-28-my-first-birthday-after-the-launch-of-leilukins-hub/index.html @@ -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 { diff --git a/_site/blog/posts/2023-09-11-happy-1st-anniversary-to-leilukins-hub/index.html b/_site/blog/posts/2023-09-11-happy-1st-anniversary-to-leilukins-hub/index.html index c6f79140..f9259c8b 100644 --- a/_site/blog/posts/2023-09-11-happy-1st-anniversary-to-leilukins-hub/index.html +++ b/_site/blog/posts/2023-09-11-happy-1st-anniversary-to-leilukins-hub/index.html @@ -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 { diff --git a/_site/blog/posts/2023-10-13-my-cassette-beasts-pombomb-plushie-arrived/index.html b/_site/blog/posts/2023-10-13-my-cassette-beasts-pombomb-plushie-arrived/index.html index 84cef443..ee58b9c7 100644 --- a/_site/blog/posts/2023-10-13-my-cassette-beasts-pombomb-plushie-arrived/index.html +++ b/_site/blog/posts/2023-10-13-my-cassette-beasts-pombomb-plushie-arrived/index.html @@ -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 { diff --git a/_site/blog/posts/2023-10-30-support-for-my-steam-review-of-a-summers-end/index.html b/_site/blog/posts/2023-10-30-support-for-my-steam-review-of-a-summers-end/index.html index 71a7092d..ea007ddd 100644 --- a/_site/blog/posts/2023-10-30-support-for-my-steam-review-of-a-summers-end/index.html +++ b/_site/blog/posts/2023-10-30-support-for-my-steam-review-of-a-summers-end/index.html @@ -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 { diff --git a/_site/blog/posts/2023-11-19-i-can-finally-game-on-a-solid-state-drive/index.html b/_site/blog/posts/2023-11-19-i-can-finally-game-on-a-solid-state-drive/index.html index 01d68c01..d1f15ee7 100644 --- a/_site/blog/posts/2023-11-19-i-can-finally-game-on-a-solid-state-drive/index.html +++ b/_site/blog/posts/2023-11-19-i-can-finally-game-on-a-solid-state-drive/index.html @@ -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 { diff --git a/_site/blog/posts/2023-11-20-finally-beat-a-bugs-life-video-game-24-years-later/index.html b/_site/blog/posts/2023-11-20-finally-beat-a-bugs-life-video-game-24-years-later/index.html index 2d55dd78..d7eb28dc 100644 --- a/_site/blog/posts/2023-11-20-finally-beat-a-bugs-life-video-game-24-years-later/index.html +++ b/_site/blog/posts/2023-11-20-finally-beat-a-bugs-life-video-game-24-years-later/index.html @@ -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 { diff --git a/_site/blog/posts/2024-03-06-i-received-a-lifetime-premium-membership-on-nexus-mods-for-free/index.html b/_site/blog/posts/2024-03-06-i-received-a-lifetime-premium-membership-on-nexus-mods-for-free/index.html index f0a2fd8f..61d60016 100644 --- a/_site/blog/posts/2024-03-06-i-received-a-lifetime-premium-membership-on-nexus-mods-for-free/index.html +++ b/_site/blog/posts/2024-03-06-i-received-a-lifetime-premium-membership-on-nexus-mods-for-free/index.html @@ -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 { diff --git a/_site/blog/posts/2024-04-21-april-2024-leilukins-hub-overhaul-with-eleventy/index.html b/_site/blog/posts/2024-04-21-april-2024-leilukins-hub-overhaul-with-eleventy/index.html index fafde338..cd072fc5 100644 --- a/_site/blog/posts/2024-04-21-april-2024-leilukins-hub-overhaul-with-eleventy/index.html +++ b/_site/blog/posts/2024-04-21-april-2024-leilukins-hub-overhaul-with-eleventy/index.html @@ -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 { diff --git a/_site/blog/posts/2024-04-27-lesbian-visibility-day1-year-anniversary-of-cassette-beasts/index.html b/_site/blog/posts/2024-04-27-lesbian-visibility-day1-year-anniversary-of-cassette-beasts/index.html index 192cfb2a..51ba1c07 100644 --- a/_site/blog/posts/2024-04-27-lesbian-visibility-day1-year-anniversary-of-cassette-beasts/index.html +++ b/_site/blog/posts/2024-04-27-lesbian-visibility-day1-year-anniversary-of-cassette-beasts/index.html @@ -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 { diff --git a/_site/blog/posts/index.html b/_site/blog/posts/index.html index a0331a2c..0c400e02 100644 --- a/_site/blog/posts/index.html +++ b/_site/blog/posts/index.html @@ -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 { diff --git a/_site/categories/a-summers-end/index.html b/_site/categories/a-summers-end/index.html index a281b4d7..d31128a4 100644 --- a/_site/categories/a-summers-end/index.html +++ b/_site/categories/a-summers-end/index.html @@ -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 { diff --git a/_site/categories/anti-harry-potter/index.html b/_site/categories/anti-harry-potter/index.html index d0392546..cd916997 100644 --- a/_site/categories/anti-harry-potter/index.html +++ b/_site/categories/anti-harry-potter/index.html @@ -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 { diff --git a/_site/categories/anti-jk-rowling/index.html b/_site/categories/anti-jk-rowling/index.html index 696877a9..cf6683e9 100644 --- a/_site/categories/anti-jk-rowling/index.html +++ b/_site/categories/anti-jk-rowling/index.html @@ -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 { diff --git a/_site/categories/cassette-beasts/index.html b/_site/categories/cassette-beasts/index.html index 537f5aa9..194d1297 100644 --- a/_site/categories/cassette-beasts/index.html +++ b/_site/categories/cassette-beasts/index.html @@ -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 { diff --git a/_site/categories/dracula-daily/index.html b/_site/categories/dracula-daily/index.html index c72536fa..6e4b9f57 100644 --- a/_site/categories/dracula-daily/index.html +++ b/_site/categories/dracula-daily/index.html @@ -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 { diff --git a/_site/categories/fandom-culture/index.html b/_site/categories/fandom-culture/index.html index 4050f442..f560d2b1 100644 --- a/_site/categories/fandom-culture/index.html +++ b/_site/categories/fandom-culture/index.html @@ -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 { diff --git a/_site/categories/index.html b/_site/categories/index.html index 3299ec23..4c19ec71 100644 --- a/_site/categories/index.html +++ b/_site/categories/index.html @@ -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 { diff --git a/_site/categories/lesbian/index.html b/_site/categories/lesbian/index.html index dffda1f5..f8145c57 100644 --- a/_site/categories/lesbian/index.html +++ b/_site/categories/lesbian/index.html @@ -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 { diff --git a/_site/categories/life-updates/index.html b/_site/categories/life-updates/index.html index 0b176b6c..47207eee 100644 --- a/_site/categories/life-updates/index.html +++ b/_site/categories/life-updates/index.html @@ -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 { diff --git a/_site/categories/modding/index.html b/_site/categories/modding/index.html index fa97e3bd..0ea6c507 100644 --- a/_site/categories/modding/index.html +++ b/_site/categories/modding/index.html @@ -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 { diff --git a/_site/categories/my-birthday/index.html b/_site/categories/my-birthday/index.html index 4ab5bc48..80496240 100644 --- a/_site/categories/my-birthday/index.html +++ b/_site/categories/my-birthday/index.html @@ -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 { diff --git a/_site/categories/my-interviews/index.html b/_site/categories/my-interviews/index.html index a7a2a2b5..b2d90248 100644 --- a/_site/categories/my-interviews/index.html +++ b/_site/categories/my-interviews/index.html @@ -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 { diff --git a/_site/categories/site-anniversary/index.html b/_site/categories/site-anniversary/index.html index add854a4..ecbc6cb6 100644 --- a/_site/categories/site-anniversary/index.html +++ b/_site/categories/site-anniversary/index.html @@ -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 { diff --git a/_site/categories/site-updates/index.html b/_site/categories/site-updates/index.html index 8a9bef89..294f1675 100644 --- a/_site/categories/site-updates/index.html +++ b/_site/categories/site-updates/index.html @@ -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 { diff --git a/_site/categories/star-wars-kotor-2/index.html b/_site/categories/star-wars-kotor-2/index.html index c08a2ba9..e1cbc764 100644 --- a/_site/categories/star-wars-kotor-2/index.html +++ b/_site/categories/star-wars-kotor-2/index.html @@ -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 { diff --git a/_site/categories/star-wars-kotor/index.html b/_site/categories/star-wars-kotor/index.html index 309481a0..a6962abf 100644 --- a/_site/categories/star-wars-kotor/index.html +++ b/_site/categories/star-wars-kotor/index.html @@ -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 { diff --git a/_site/changelogs/2022/index.html b/_site/changelogs/2022/index.html index 45d4f025..93e5037e 100644 --- a/_site/changelogs/2022/index.html +++ b/_site/changelogs/2022/index.html @@ -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 { diff --git a/_site/changelogs/2023/index.html b/_site/changelogs/2023/index.html index 9d885ee9..6ad582d0 100644 --- a/_site/changelogs/2023/index.html +++ b/_site/changelogs/2023/index.html @@ -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 { diff --git a/_site/changelogs/2024/index.html b/_site/changelogs/2024/index.html index f8ec9a49..92ebc1f1 100644 --- a/_site/changelogs/2024/index.html +++ b/_site/changelogs/2024/index.html @@ -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 { diff --git a/_site/changelogs/index.html b/_site/changelogs/index.html index 4c4bb1eb..e65945d0 100644 --- a/_site/changelogs/index.html +++ b/_site/changelogs/index.html @@ -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 { diff --git a/_site/changelogs/layouts/index.html b/_site/changelogs/layouts/index.html index d73cc8dc..0f655cd5 100644 --- a/_site/changelogs/layouts/index.html +++ b/_site/changelogs/layouts/index.html @@ -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 { diff --git a/_site/changelogs/page/2/index.html b/_site/changelogs/page/2/index.html index 653620bb..1dc7574e 100644 --- a/_site/changelogs/page/2/index.html +++ b/_site/changelogs/page/2/index.html @@ -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 { diff --git a/_site/changelogs/page/3/index.html b/_site/changelogs/page/3/index.html index 5432d883..bf804288 100644 --- a/_site/changelogs/page/3/index.html +++ b/_site/changelogs/page/3/index.html @@ -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 { diff --git a/_site/changelogs/page/4/index.html b/_site/changelogs/page/4/index.html index 06c33294..74b12e3b 100644 --- a/_site/changelogs/page/4/index.html +++ b/_site/changelogs/page/4/index.html @@ -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 { diff --git a/_site/changelogs/page/5/index.html b/_site/changelogs/page/5/index.html index 60a1e049..558ecd1c 100644 --- a/_site/changelogs/page/5/index.html +++ b/_site/changelogs/page/5/index.html @@ -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 { diff --git a/_site/feed.xml b/_site/feed.xml index ff7349cf..b89b16c1 100644 --- a/_site/feed.xml +++ b/_site/feed.xml @@ -4,7 +4,7 @@ Leilukin's personal website. - 2024-04-29T05:06:38Z + 2024-04-29T05:13:17Z https://leilukin.neocities.org Leilukin diff --git a/_site/index.html b/_site/index.html index 5c09854f..c9ebfe22 100644 --- a/_site/index.html +++ b/_site/index.html @@ -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 { diff --git a/_site/links/index.html b/_site/links/index.html index 821e2e66..d095d56a 100644 --- a/_site/links/index.html +++ b/_site/links/index.html @@ -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 { diff --git a/_site/now/index.html b/_site/now/index.html index bd92be65..2f2506e9 100644 --- a/_site/now/index.html +++ b/_site/now/index.html @@ -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 { diff --git a/_site/projects/index.html b/_site/projects/index.html index 7766531b..d278bf8c 100644 --- a/_site/projects/index.html +++ b/_site/projects/index.html @@ -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 { diff --git a/_site/projects/kotor1mods/index.html b/_site/projects/kotor1mods/index.html index 141c4522..edfdbf38 100644 --- a/_site/projects/kotor1mods/index.html +++ b/_site/projects/kotor1mods/index.html @@ -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 { diff --git a/_site/projects/kotor2mods/index.html b/_site/projects/kotor2mods/index.html index 751f4e65..25d14d8a 100644 --- a/_site/projects/kotor2mods/index.html +++ b/_site/projects/kotor2mods/index.html @@ -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 { diff --git a/_site/projects/playlists/index.html b/_site/projects/playlists/index.html index c2390599..a9daa033 100644 --- a/_site/projects/playlists/index.html +++ b/_site/projects/playlists/index.html @@ -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 { diff --git a/_site/shrines/asummersend/gallery/index.html b/_site/shrines/asummersend/gallery/index.html index 2e1fe56c..526c2ae3 100644 --- a/_site/shrines/asummersend/gallery/index.html +++ b/_site/shrines/asummersend/gallery/index.html @@ -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 A Summer’s End — Hong Kong 1986! + Today is the ${aseAnniversary}-year anniversary of the release of A Summer’s End — Hong Kong 1986! `; else if (month === 8 && day === 9) return ` diff --git a/_site/shrines/asummersend/index.html b/_site/shrines/asummersend/index.html index 03680af9..a0ec094c 100644 --- a/_site/shrines/asummersend/index.html +++ b/_site/shrines/asummersend/index.html @@ -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 A Summer’s End — Hong Kong 1986! + Today is the ${aseAnniversary}-year anniversary of the release of A Summer’s End — Hong Kong 1986! `; else if (month === 8 && day === 9) return ` diff --git a/_site/shrines/asummersend/playlists/index.html b/_site/shrines/asummersend/playlists/index.html index 0023b4e7..ee5ae19c 100644 --- a/_site/shrines/asummersend/playlists/index.html +++ b/_site/shrines/asummersend/playlists/index.html @@ -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 A Summer’s End — Hong Kong 1986! + Today is the ${aseAnniversary}-year anniversary of the release of A Summer’s End — Hong Kong 1986! `; else if (month === 8 && day === 9) return ` diff --git a/_site/shrines/asummersend/trivia/index.html b/_site/shrines/asummersend/trivia/index.html index 9c065f13..6f8ccc49 100644 --- a/_site/shrines/asummersend/trivia/index.html +++ b/_site/shrines/asummersend/trivia/index.html @@ -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 A Summer’s End — Hong Kong 1986! + Today is the ${aseAnniversary}-year anniversary of the release of A Summer’s End — Hong Kong 1986! `; else if (month === 8 && day === 9) return ` diff --git a/_site/shrines/cassettebeasts/articles/cassette-beasts-more-than-a-pokemon-clone/index.html b/_site/shrines/cassettebeasts/articles/cassette-beasts-more-than-a-pokemon-clone/index.html index 1c2061e5..1c28ad90 100644 --- a/_site/shrines/cassettebeasts/articles/cassette-beasts-more-than-a-pokemon-clone/index.html +++ b/_site/shrines/cassettebeasts/articles/cassette-beasts-more-than-a-pokemon-clone/index.html @@ -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 ` diff --git a/_site/shrines/cassettebeasts/articles/index.html b/_site/shrines/cassettebeasts/articles/index.html index 68da255e..2c430666 100644 --- a/_site/shrines/cassettebeasts/articles/index.html +++ b/_site/shrines/cassettebeasts/articles/index.html @@ -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 ` diff --git a/_site/shrines/cassettebeasts/featured/index.html b/_site/shrines/cassettebeasts/featured/index.html index 87c8d290..5fcaf1ed 100644 --- a/_site/shrines/cassettebeasts/featured/index.html +++ b/_site/shrines/cassettebeasts/featured/index.html @@ -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 ` diff --git a/_site/shrines/cassettebeasts/gamelog/index.html b/_site/shrines/cassettebeasts/gamelog/index.html index c4043161..a1c46abb 100644 --- a/_site/shrines/cassettebeasts/gamelog/index.html +++ b/_site/shrines/cassettebeasts/gamelog/index.html @@ -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 ` diff --git a/_site/shrines/cassettebeasts/index.html b/_site/shrines/cassettebeasts/index.html index cd0bf7dc..adbf6a12 100644 --- a/_site/shrines/cassettebeasts/index.html +++ b/_site/shrines/cassettebeasts/index.html @@ -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 ` diff --git a/_site/shrines/cassettebeasts/resources/index.html b/_site/shrines/cassettebeasts/resources/index.html index 35620dbc..00d4f4cc 100644 --- a/_site/shrines/cassettebeasts/resources/index.html +++ b/_site/shrines/cassettebeasts/resources/index.html @@ -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 ` diff --git a/_site/shrines/cassettebeasts/trivia/index.html b/_site/shrines/cassettebeasts/trivia/index.html index 13e70ed5..e45ffb11 100644 --- a/_site/shrines/cassettebeasts/trivia/index.html +++ b/_site/shrines/cassettebeasts/trivia/index.html @@ -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 ` diff --git a/_site/shrines/index.html b/_site/shrines/index.html index c15069af..fbce60f3 100644 --- a/_site/shrines/index.html +++ b/_site/shrines/index.html @@ -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 { diff --git a/_site/shrines/starwarskotor/articles/arren-kae-kreia-theory/index.html b/_site/shrines/starwarskotor/articles/arren-kae-kreia-theory/index.html index 73f32ffa..0dccfe33 100644 --- a/_site/shrines/starwarskotor/articles/arren-kae-kreia-theory/index.html +++ b/_site/shrines/starwarskotor/articles/arren-kae-kreia-theory/index.html @@ -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 ` diff --git a/_site/shrines/starwarskotor/articles/faq-same-gender-romance-mods/index.html b/_site/shrines/starwarskotor/articles/faq-same-gender-romance-mods/index.html index 4e484576..717faf66 100644 --- a/_site/shrines/starwarskotor/articles/faq-same-gender-romance-mods/index.html +++ b/_site/shrines/starwarskotor/articles/faq-same-gender-romance-mods/index.html @@ -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 ` diff --git a/_site/shrines/starwarskotor/articles/handmaiden-sisters-mother/index.html b/_site/shrines/starwarskotor/articles/handmaiden-sisters-mother/index.html index 5daa8d0e..73c92d44 100644 --- a/_site/shrines/starwarskotor/articles/handmaiden-sisters-mother/index.html +++ b/_site/shrines/starwarskotor/articles/handmaiden-sisters-mother/index.html @@ -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 ` diff --git a/_site/shrines/starwarskotor/articles/index.html b/_site/shrines/starwarskotor/articles/index.html index 7b514876..07b1d0e3 100644 --- a/_site/shrines/starwarskotor/articles/index.html +++ b/_site/shrines/starwarskotor/articles/index.html @@ -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 ` diff --git a/_site/shrines/starwarskotor/articles/juhani-hostility-towards-canderous/index.html b/_site/shrines/starwarskotor/articles/juhani-hostility-towards-canderous/index.html index a8c8876e..b474e922 100644 --- a/_site/shrines/starwarskotor/articles/juhani-hostility-towards-canderous/index.html +++ b/_site/shrines/starwarskotor/articles/juhani-hostility-towards-canderous/index.html @@ -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 ` diff --git a/_site/shrines/starwarskotor/articles/juhani-lesbian-evidence/index.html b/_site/shrines/starwarskotor/articles/juhani-lesbian-evidence/index.html index 40806f96..4de3c3df 100644 --- a/_site/shrines/starwarskotor/articles/juhani-lesbian-evidence/index.html +++ b/_site/shrines/starwarskotor/articles/juhani-lesbian-evidence/index.html @@ -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 ` diff --git a/_site/shrines/starwarskotor/articles/keep-juhani-a-lesbian/index.html b/_site/shrines/starwarskotor/articles/keep-juhani-a-lesbian/index.html index 5af486e8..417c3d0b 100644 --- a/_site/shrines/starwarskotor/articles/keep-juhani-a-lesbian/index.html +++ b/_site/shrines/starwarskotor/articles/keep-juhani-a-lesbian/index.html @@ -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 ` diff --git a/_site/shrines/starwarskotor/articles/partyswap-management-takeover/index.html b/_site/shrines/starwarskotor/articles/partyswap-management-takeover/index.html index d6be3c72..82bf535f 100644 --- a/_site/shrines/starwarskotor/articles/partyswap-management-takeover/index.html +++ b/_site/shrines/starwarskotor/articles/partyswap-management-takeover/index.html @@ -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 ` diff --git a/_site/shrines/starwarskotor/articles/tslrcm-first-kotor2-playthrough/index.html b/_site/shrines/starwarskotor/articles/tslrcm-first-kotor2-playthrough/index.html index 2fe45720..10bafc08 100644 --- a/_site/shrines/starwarskotor/articles/tslrcm-first-kotor2-playthrough/index.html +++ b/_site/shrines/starwarskotor/articles/tslrcm-first-kotor2-playthrough/index.html @@ -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 ` diff --git a/_site/shrines/starwarskotor/guides/index.html b/_site/shrines/starwarskotor/guides/index.html index c5044df4..a1421664 100644 --- a/_site/shrines/starwarskotor/guides/index.html +++ b/_site/shrines/starwarskotor/guides/index.html @@ -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 ` diff --git a/_site/shrines/starwarskotor/guides/kotor-juhani-romance-guide/index.html b/_site/shrines/starwarskotor/guides/kotor-juhani-romance-guide/index.html index 9ad8579b..3cc74e8f 100644 --- a/_site/shrines/starwarskotor/guides/kotor-juhani-romance-guide/index.html +++ b/_site/shrines/starwarskotor/guides/kotor-juhani-romance-guide/index.html @@ -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 ` diff --git a/_site/shrines/starwarskotor/guides/kotor-redeeming-bastila-guide/index.html b/_site/shrines/starwarskotor/guides/kotor-redeeming-bastila-guide/index.html index 46610d49..9b541911 100644 --- a/_site/shrines/starwarskotor/guides/kotor-redeeming-bastila-guide/index.html +++ b/_site/shrines/starwarskotor/guides/kotor-redeeming-bastila-guide/index.html @@ -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 ` diff --git a/_site/shrines/starwarskotor/guides/kotor-sandral-matale-feud-guide/index.html b/_site/shrines/starwarskotor/guides/kotor-sandral-matale-feud-guide/index.html index 765c6b6e..a9b5af9e 100644 --- a/_site/shrines/starwarskotor/guides/kotor-sandral-matale-feud-guide/index.html +++ b/_site/shrines/starwarskotor/guides/kotor-sandral-matale-feud-guide/index.html @@ -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 ` diff --git a/_site/shrines/starwarskotor/index.html b/_site/shrines/starwarskotor/index.html index 3dc83286..9d531363 100644 --- a/_site/shrines/starwarskotor/index.html +++ b/_site/shrines/starwarskotor/index.html @@ -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 ` diff --git a/_site/shrines/starwarskotor/resources/index.html b/_site/shrines/starwarskotor/resources/index.html index 95206108..c09a402f 100644 --- a/_site/shrines/starwarskotor/resources/index.html +++ b/_site/shrines/starwarskotor/resources/index.html @@ -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 ` diff --git a/_site/shrines/starwarskotor/resources/kotor-same-gender-romance-mods/index.html b/_site/shrines/starwarskotor/resources/kotor-same-gender-romance-mods/index.html index e9950374..ca86e112 100644 --- a/_site/shrines/starwarskotor/resources/kotor-same-gender-romance-mods/index.html +++ b/_site/shrines/starwarskotor/resources/kotor-same-gender-romance-mods/index.html @@ -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 ` diff --git a/_site/shrines/starwarskotor/resources/kotor2-female-exile-recruit-handmaiden-mods/index.html b/_site/shrines/starwarskotor/resources/kotor2-female-exile-recruit-handmaiden-mods/index.html index 96b94231..64c6e214 100644 --- a/_site/shrines/starwarskotor/resources/kotor2-female-exile-recruit-handmaiden-mods/index.html +++ b/_site/shrines/starwarskotor/resources/kotor2-female-exile-recruit-handmaiden-mods/index.html @@ -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 ` diff --git a/_site/shrines/starwarskotor/resources/tslrcm-m478ep-modules-music/index.html b/_site/shrines/starwarskotor/resources/tslrcm-m478ep-modules-music/index.html index 0c6c21cc..0f843975 100644 --- a/_site/shrines/starwarskotor/resources/tslrcm-m478ep-modules-music/index.html +++ b/_site/shrines/starwarskotor/resources/tslrcm-m478ep-modules-music/index.html @@ -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 ` diff --git a/_site/shrines/starwarskotor/universes/index.html b/_site/shrines/starwarskotor/universes/index.html index 258847dc..aec6f9b8 100644 --- a/_site/shrines/starwarskotor/universes/index.html +++ b/_site/shrines/starwarskotor/universes/index.html @@ -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 ` diff --git a/_site/sitemap/index.html b/_site/sitemap/index.html index 59029f78..b816e47f 100644 --- a/_site/sitemap/index.html +++ b/_site/sitemap/index.html @@ -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 { diff --git a/src/_includes/asummersend/hero.njk b/src/_includes/asummersend/hero.njk index 6023c96f..2830d1be 100644 --- a/src/_includes/asummersend/hero.njk +++ b/src/_includes/asummersend/hero.njk @@ -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 A Summer’s End — Hong Kong 1986! + Today is the ${aseAnniversary}-year anniversary of the release of A Summer’s End — Hong Kong 1986! `; else if (month === 8 && day === 9) return ` diff --git a/src/_includes/cassettebeasts/hero.njk b/src/_includes/cassettebeasts/hero.njk index 249aa5a7..ecf8799a 100644 --- a/src/_includes/cassettebeasts/hero.njk +++ b/src/_includes/cassettebeasts/hero.njk @@ -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 ` diff --git a/src/_includes/main/hero.njk b/src/_includes/main/hero.njk index 48bf4612..2fdadffe 100644 --- a/src/_includes/main/hero.njk +++ b/src/_includes/main/hero.njk @@ -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 { diff --git a/src/_includes/starwarskotor/hero.njk b/src/_includes/starwarskotor/hero.njk index a3503c32..80658b89 100644 --- a/src/_includes/starwarskotor/hero.njk +++ b/src/_includes/starwarskotor/hero.njk @@ -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 `