diff --git a/packages/marko-web-theme-monorail/components/nodes/content.marko b/packages/marko-web-theme-monorail/components/nodes/content.marko index 3eb68a79f..31fefb251 100644 --- a/packages/marko-web-theme-monorail/components/nodes/content.marko +++ b/packages/marko-web-theme-monorail/components/nodes/content.marko @@ -14,6 +14,7 @@ $ const withDates = defaultValue(input.withDates, true); $ const withPrimarySectionModifier = defaultValue(input.withPrimarySectionModifier, true); $ const displayButton = defaultValue(input.displayButton, false); $ const callToAction = defaultValue(input.callToAction, "View Profile"); +$ const dateFormat = defaultValue(input.dateFormat, "MMMM D, YYYY"); $ const isWebinar = content.type === "webinar"; $ const isPromotion = content.type === "promotion"; @@ -89,8 +90,8 @@ $ const withSponsored = primarySection && primarySection.name === 'Sponsored' && >
- - + +
@@ -134,7 +135,7 @@ $ const withSponsored = primarySection && primarySection.name === 'Sponsored' && <@text|{ blockName }| show=(Boolean(withDates && !isEvent))> - + <@text show=displayButton>