From f8d76cea8f1e686a46044a3ad2fa90d4b4ef5268 Mon Sep 17 00:00:00 2001 From: Shinsina Date: Thu, 18 Jul 2024 08:07:27 -0500 Subject: [PATCH 1/2] Include country on directory-section-feed-content-node, Monorail --- .../components/nodes/directory-section-feed-content.marko | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/marko-web-theme-monorail/components/nodes/directory-section-feed-content.marko b/packages/marko-web-theme-monorail/components/nodes/directory-section-feed-content.marko index 92c15ce84..b9671d158 100644 --- a/packages/marko-web-theme-monorail/components/nodes/directory-section-feed-content.marko +++ b/packages/marko-web-theme-monorail/components/nodes/directory-section-feed-content.marko @@ -73,6 +73,7 @@ $ const blockName = "section-feed-content-node"; + + From ca1db01aad82c5a7f5d08458859183f9a9282569 Mon Sep 17 00:00:00 2001 From: Shinsina Date: Fri, 19 Jul 2024 08:26:30 -0500 Subject: [PATCH 2/2] Utilize withCountry input for showing country --- .../nodes/directory-section-feed-content.marko | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/marko-web-theme-monorail/components/nodes/directory-section-feed-content.marko b/packages/marko-web-theme-monorail/components/nodes/directory-section-feed-content.marko index b9671d158..52d4d6044 100644 --- a/packages/marko-web-theme-monorail/components/nodes/directory-section-feed-content.marko +++ b/packages/marko-web-theme-monorail/components/nodes/directory-section-feed-content.marko @@ -23,6 +23,7 @@ $ const requestQuote = defaultValue(input.requestQuote, true); $ const displayFeaturedSocialLinks = defaultValue(input.displayFeaturedSocialLinks, false); $ const socialLinks = getAsArray(content, "socialLinks"); $ const showSocial = socialLinks.length; +$ const withCountry = defaultValue(input.withCountry, false); // linkOffsite is an object like the following: /** { @@ -73,7 +74,9 @@ $ const blockName = "section-feed-content-node"; - + + + - + + +