diff --git a/packages/marko-web-theme-monorail/components/nodes/section-feed-content.marko b/packages/marko-web-theme-monorail/components/nodes/section-feed-content.marko index 3f1c676e6..67e4f02a9 100644 --- a/packages/marko-web-theme-monorail/components/nodes/section-feed-content.marko +++ b/packages/marko-web-theme-monorail/components/nodes/section-feed-content.marko @@ -18,6 +18,8 @@ $ const withBody = defaultValue(input.withBody, false); $ const withAddress = defaultValue(input.withAddress, (content.type === "company")); $ const withDates = defaultValue(input.withDates, true); $ const dateFormat = defaultValue(input.dateFormat, "MMMM D, YYYY"); +$ const multiDateFormats = input.multiDateFormats; + $ const isUpcoming = content.startDate > Date.now(); $ if (isUpcoming) modifiers.push("upcoming"); $ const withSection = defaultValue(input.withSection, true); @@ -104,6 +106,20 @@ $ const blockName = "section-feed-content-node"; <${input.date} /> + + + + $ const dateFormat = dateObj.dateFormat || dateFormat; + $ const timezone = dateObj.timezone || "America/Chicago"; + + + +
diff --git a/packages/marko-web-theme-monorail/scss/components/blocks/_section-feed.scss b/packages/marko-web-theme-monorail/scss/components/blocks/_section-feed.scss index 633d76cae..8fbfc8837 100644 --- a/packages/marko-web-theme-monorail/scss/components/blocks/_section-feed.scss +++ b/packages/marko-web-theme-monorail/scss/components/blocks/_section-feed.scss @@ -93,6 +93,11 @@ } } + &__multidates { + display: flex; + flex-direction: row; + } + &__content-company { font-weight: $theme-content-attribution-prefix-font-weight; &::before {