From fc313407cdeae4f0c6bd39a5a3a1304cc1a5f541 Mon Sep 17 00:00:00 2001 From: Shinsina Date: Tue, 23 Apr 2024 11:02:27 -0500 Subject: [PATCH] Adjust years to 2024 for current and 2023 for start of past --- .../website-section/awards-honors/arthur-ashe/index.marko | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sites/diverseeducation.com/server/templates/website-section/awards-honors/arthur-ashe/index.marko b/sites/diverseeducation.com/server/templates/website-section/awards-honors/arthur-ashe/index.marko index 905d12c7..fd3dd726 100644 --- a/sites/diverseeducation.com/server/templates/website-section/awards-honors/arthur-ashe/index.marko +++ b/sites/diverseeducation.com/server/templates/website-section/awards-honors/arthur-ashe/index.marko @@ -47,7 +47,7 @@ $ const rootAlias = 'awards-honors/arthur-ashe'; Extended Deadline: February 16
--> - +
@@ -78,7 +78,7 @@ $ const rootAlias = 'awards-honors/arthur-ashe'; name="website-section" params={ alias, queryFragment: sectionWithChilderenFragment } > - $ const year = 2023; + $ const year = 2024; $ const [yearSection] = getAsArray(node, "children.edges").map(({ node }) => node).filter(({ name })=> parseInt(name) === year);
@@ -102,7 +102,7 @@ $ const rootAlias = 'awards-honors/arthur-ashe'; name="website-section" params={ alias: 'awards-honors/arthur-ashe', queryFragment: sectionWithChilderenFragment } > - $ const year = 2022; //current/active year + $ const year = 2023; //current/active year $ const children = getAsArray(node, "children.edges").map(({ node }) => node).filter(({ name })=> parseInt(name) <= year); <@nodes|{ nodes }| nodes=children modifiers=["flush-x"]>