From f01dec3a3c5b28718d559531ae5bea93fa346ed6 Mon Sep 17 00:00:00 2001 From: TomNUSDS <74203452+TomNUSDS@users.noreply.github.com> Date: Tue, 23 Jan 2024 08:08:57 -0800 Subject: [PATCH 1/2] Rename recently added Frontmatter variables Update naming to be more standard. Going from `dateline_str` to `date` caused existing code to treat this string as a date variable so some date formatting code was also needed. Updated README Added comment to events template since it has a `.date` but the template isn't currently being used. --- _includes/_template--blog-post-page.html | 10 +++++----- _includes/carousel-blog-posts.html | 2 +- ...-27-tackling-the-climate-crisis-with-open-source.md | 6 +++--- .../2022-08-15-a-quick-guide-to-inclusive-design.md | 6 +++--- ...erans-where-they-are-with-accessible-mobile-tech.md | 6 +++--- ...ing-burden-of-child-care-assistance-applications.md | 6 +++--- ...023-10-17-solutions-by-families-for-families-new.md | 6 +++--- _news-and-blog/2023-04-07-why-we-serve-bill-chapman.md | 6 +++--- _news-and-blog/2023-05-17-why-we-serve-sam-feudo.md | 6 +++--- ...vernment-to-work-better-and-smarter-for-families.md | 6 +++--- ...s-nine-years-of-transforming-government-services.md | 6 +++--- .../2023-10-17-solutions-by-families-for-families.md | 6 +++--- _news-and-blog/README.md | 8 ++++---- pages/events.html | 1 + pages/news-and-blog.html | 2 +- 15 files changed, 42 insertions(+), 41 deletions(-) diff --git a/_includes/_template--blog-post-page.html b/_includes/_template--blog-post-page.html index b00ca59d..ee6b931d 100644 --- a/_includes/_template--blog-post-page.html +++ b/_includes/_template--blog-post-page.html @@ -1,14 +1,14 @@
News & blog -

{{ page.title }}

+

{{ page.title }}

- +
diff --git a/_includes/carousel-blog-posts.html b/_includes/carousel-blog-posts.html index 2bdfd2c6..fb9306a8 100644 --- a/_includes/carousel-blog-posts.html +++ b/_includes/carousel-blog-posts.html @@ -11,7 +11,7 @@ {{ item.carousel_image_alt_text }} {% endif %}
- {{ item.dateline_str }} + {{ item.date | date: "%b %d, %Y" }}

{{ item.carousel_title }}

{% if item.carousel_summary %}
diff --git a/_news-and-blog/2022-04-27-tackling-the-climate-crisis-with-open-source.md b/_news-and-blog/2022-04-27-tackling-the-climate-crisis-with-open-source.md index 42e07a83..8736be35 100644 --- a/_news-and-blog/2022-04-27-tackling-the-climate-crisis-with-open-source.md +++ b/_news-and-blog/2022-04-27-tackling-the-climate-crisis-with-open-source.md @@ -15,9 +15,9 @@ carousel_show: true # Blog detail page (Edit this) title: "Tackling the climate crisis with open source" -dateline_str: "Apr 27, 2022" -readtime_str: "5" -byline_str: "U.S. Digital Service" +date: "Apr 27, 2022" +readtime_minutes: "5" +author: "U.S. Digital Service" permalink: /news-and-blog/tackling-the-climate-crisis-with-open-source-00a52a --- diff --git a/_news-and-blog/2022-08-15-a-quick-guide-to-inclusive-design.md b/_news-and-blog/2022-08-15-a-quick-guide-to-inclusive-design.md index 67c6fdd6..c12845f5 100644 --- a/_news-and-blog/2022-08-15-a-quick-guide-to-inclusive-design.md +++ b/_news-and-blog/2022-08-15-a-quick-guide-to-inclusive-design.md @@ -15,9 +15,9 @@ carousel_show: true # Blog detail page (Edit this) title: "A quick guide to inclusive design" -dateline_str: "Aug 15, 2022" -readtime_str: "9" -byline_str: "Suzanne Chapman - UX designer, researcher, and content strategist at USDS" +date: "Aug 15, 2022" +readtime_minutes: "9" +author: "Suzanne Chapman - UX designer, researcher, and content strategist at USDS" permalink: /news-and-blog/a-quick-guide-to-inclusive-design-31ef2c --- diff --git a/_news-and-blog/2022-11-10-meeting-veterans-where-they-are-with-accessible-mobile-tech.md b/_news-and-blog/2022-11-10-meeting-veterans-where-they-are-with-accessible-mobile-tech.md index 909e9a94..91463b40 100644 --- a/_news-and-blog/2022-11-10-meeting-veterans-where-they-are-with-accessible-mobile-tech.md +++ b/_news-and-blog/2022-11-10-meeting-veterans-where-they-are-with-accessible-mobile-tech.md @@ -15,9 +15,9 @@ carousel_show: true # Blog detail page (Edit this) title: "Meeting veterans where they are with accessible mobile tech" -dateline_str: "Nov 10, 2022" -readtime_str: "5" -byline_str: "U.S. Digital Service" +date: "Nov 10, 2022" +readtime_minutes: "5" +author: "U.S. Digital Service" permalink: /news-and-blog/meeting-veterans-where-they-are-with-accessible-mobile-tech-fba73d --- diff --git a/_news-and-blog/2023-03-29-reducing-burden-of-child-care-assistance-applications.md b/_news-and-blog/2023-03-29-reducing-burden-of-child-care-assistance-applications.md index 7a442903..0fcc097d 100644 --- a/_news-and-blog/2023-03-29-reducing-burden-of-child-care-assistance-applications.md +++ b/_news-and-blog/2023-03-29-reducing-burden-of-child-care-assistance-applications.md @@ -15,9 +15,9 @@ carousel_show: true # Blog detail page (Edit this) title: "Reducing burden of child care assistance applications" -dateline_str: "Mar 29, 2023" -readtime_str: "4" -byline_str: "Allison Abbott, Coulton Bunney, T. Annie Nguyen, and Pooja Shaw" +date: "Mar 29, 2023" +readtime_minutes: "4" +author: "Allison Abbott, Coulton Bunney, T. Annie Nguyen, and Pooja Shaw" permalink: /news-and-blog/reducing-burden-of-child-care-assistance-applications-e595d4 --- diff --git a/_news-and-blog/2023-04-07-why-we-serve-bill-chapman-img/2023-10-17-solutions-by-families-for-families-new.md b/_news-and-blog/2023-04-07-why-we-serve-bill-chapman-img/2023-10-17-solutions-by-families-for-families-new.md index ecb069a1..75af74e0 100644 --- a/_news-and-blog/2023-04-07-why-we-serve-bill-chapman-img/2023-10-17-solutions-by-families-for-families-new.md +++ b/_news-and-blog/2023-04-07-why-we-serve-bill-chapman-img/2023-10-17-solutions-by-families-for-families-new.md @@ -15,9 +15,9 @@ carousel_show: false # Blog detail page (Edit this) title: "Solutions by Families, for Families" -dateline_str: "Oct 17, 2023" -readtime_str: "11" -byline_str: "Maya Uppaluru Mechenbier, Alana Buroff, Alex Bornkessel, Allison Abbott, and Whitney Robinson" +date: "Oct 17, 2023" +readtime_minutes: "11" +author: "Maya Uppaluru Mechenbier, Alana Buroff, Alex Bornkessel, Allison Abbott, and Whitney Robinson" permalink: news-and-blog/solutions-by-families-for-families --- diff --git a/_news-and-blog/2023-04-07-why-we-serve-bill-chapman.md b/_news-and-blog/2023-04-07-why-we-serve-bill-chapman.md index 12b657de..8c8d8bf4 100644 --- a/_news-and-blog/2023-04-07-why-we-serve-bill-chapman.md +++ b/_news-and-blog/2023-04-07-why-we-serve-bill-chapman.md @@ -15,9 +15,9 @@ carousel_show: true # Blog detail page (Edit this) title: "Why we serve: Bill Chapman" -dateline_str: "Apr 7, 2023" -readtime_str: "4" -byline_str: "U.S. Digital Service" +date: "Apr 7, 2023" +readtime_minutes: "4" +author: "U.S. Digital Service" permalink: /news-and-blog/why-we-serve-bill-chapman-83774e --- diff --git a/_news-and-blog/2023-05-17-why-we-serve-sam-feudo.md b/_news-and-blog/2023-05-17-why-we-serve-sam-feudo.md index 5372ee14..c411c2e4 100644 --- a/_news-and-blog/2023-05-17-why-we-serve-sam-feudo.md +++ b/_news-and-blog/2023-05-17-why-we-serve-sam-feudo.md @@ -15,9 +15,9 @@ carousel_show: true # Blog detail page (Edit this) title: "Why we serve: Sam Feudo" -dateline_str: "May 17, 2023" -readtime_str: "6" -byline_str: "U.S. Digital Service" +date: "May 17, 2023" +readtime_minutes: "6" +author: "U.S. Digital Service" permalink: /news-and-blog/why-we-serve-sam-feudo-66a3b5 --- diff --git a/_news-and-blog/2023-06-13-why-were-designing-government-to-work-better-and-smarter-for-families.md b/_news-and-blog/2023-06-13-why-were-designing-government-to-work-better-and-smarter-for-families.md index a9b44c15..cbbf81f0 100644 --- a/_news-and-blog/2023-06-13-why-were-designing-government-to-work-better-and-smarter-for-families.md +++ b/_news-and-blog/2023-06-13-why-were-designing-government-to-work-better-and-smarter-for-families.md @@ -15,9 +15,9 @@ carousel_show: true # Blog detail page (Edit this) title: "Why we’re designing government to work better and smarter for families" -dateline_str: "Jun 13, 2023" -readtime_str: "6" -byline_str: "Maya Uppaluru Mechenbier, Allison Abbott, Alex Bornkessel, Alana Buroff, and Phoebe Brauer" +date: "Jun 13, 2023" +readtime_minutes: "6" +author: "Maya Uppaluru Mechenbier, Allison Abbott, Alex Bornkessel, Alana Buroff, and Phoebe Brauer" permalink: /news-and-blog/why-were-designing-government-to-work-better-and-smarter-for-families-dee5c2 --- diff --git a/_news-and-blog/2023-08-11-usds-marks-nine-years-of-transforming-government-services.md b/_news-and-blog/2023-08-11-usds-marks-nine-years-of-transforming-government-services.md index aa6d6a53..ecfb7ee8 100644 --- a/_news-and-blog/2023-08-11-usds-marks-nine-years-of-transforming-government-services.md +++ b/_news-and-blog/2023-08-11-usds-marks-nine-years-of-transforming-government-services.md @@ -15,9 +15,9 @@ carousel_show: true # Blog detail page (Edit this) title: "USDS marks nine years of transforming government services" -dateline_str: "Aug 11, 2023" -readtime_str: "8" -byline_str: "Mina Hsiang, USDS Administrator" +date: "Aug 11, 2023" +readtime_minutes: "8" +author: "Mina Hsiang, USDS Administrator" permalink: /news-and-blog/usds-marks-nine-years-of-transforming-government-services-37fe17 --- diff --git a/_news-and-blog/2023-10-17-solutions-by-families-for-families.md b/_news-and-blog/2023-10-17-solutions-by-families-for-families.md index 3c2d3ad0..f7282fa8 100644 --- a/_news-and-blog/2023-10-17-solutions-by-families-for-families.md +++ b/_news-and-blog/2023-10-17-solutions-by-families-for-families.md @@ -15,9 +15,9 @@ carousel_show: true # Blog detail page (Edit this) title: "Solutions by Families, for Families" -dateline_str: "Oct 16, 2023" -readtime_str: "13" -byline_str: "Maya Uppaluru Mechenbier, Alana Buroff, Alex Bornkessel, Allison Abbott, and Whitney Robinson" +date: "Oct 16, 2023" +readtime_minutes: "13" +author: "Maya Uppaluru Mechenbier, Alana Buroff, Alex Bornkessel, Allison Abbott, and Whitney Robinson" permalink: /news-and-blog/solutions-by-families-for-families-4b8150 --- diff --git a/_news-and-blog/README.md b/_news-and-blog/README.md index 68b1c527..c0926271 100644 --- a/_news-and-blog/README.md +++ b/_news-and-blog/README.md @@ -41,9 +41,9 @@ carousel_show: true # Blog detail page (Edit this) title: "Meeting veterans where they are with accessible mobile tech" -dateline_str: "Nov 10, 2022" -readtime_str: "5" -byline_str: "U.S. Digital Service" +date: "Nov 10, 2022" +readtime_minutes: "5" +author: "U.S. Digital Service" permalink: /news-and-blog/meeting-veterans-where-they-are-with-accessible-mobile-tech --- @@ -70,7 +70,7 @@ carousel_show: true # Blog detail page (Edit this) title: "U.S. Digital Service" -dateline_str: "" +date: "" permalink: /news-and-blog/___ --- diff --git a/pages/events.html b/pages/events.html index 6d22452e..cc96ae11 100644 --- a/pages/events.html +++ b/pages/events.html @@ -1,4 +1,5 @@ --- +comment: This page is NOT IN USE. news-and-blog intercepts it. published: false layout: default title: Events diff --git a/pages/news-and-blog.html b/pages/news-and-blog.html index cb28713c..8a3857b0 100644 --- a/pages/news-and-blog.html +++ b/pages/news-and-blog.html @@ -46,7 +46,7 @@

{{ content.inside_look.heading_title {{ item.carousel_image_alt_text }} {% endif %}
- {{ item.dateline_str }} + {{ item.date | date: "%b %d, %Y" }}

{{ item.carousel_title }}

{% if item.carousel_summary %}
From a6a8660389a6b8f98a191a88c4d538baf32ce924 Mon Sep 17 00:00:00 2001 From: TomNUSDS <74203452+TomNUSDS@users.noreply.github.com> Date: Mon, 29 Jan 2024 08:19:30 -0800 Subject: [PATCH 2/2] Update 2022-04-27-tackling-the-climate-crisis-with-open-source.md Remove extra line feed. --- .../2022-04-27-tackling-the-climate-crisis-with-open-source.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/_news-and-blog/2022-04-27-tackling-the-climate-crisis-with-open-source.md b/_news-and-blog/2022-04-27-tackling-the-climate-crisis-with-open-source.md index 8736be35..cd6dd90c 100644 --- a/_news-and-blog/2022-04-27-tackling-the-climate-crisis-with-open-source.md +++ b/_news-and-blog/2022-04-27-tackling-the-climate-crisis-with-open-source.md @@ -94,8 +94,7 @@ support the project’s mission of advancing environmental justice. Developing this tool with an open source community has been a labor of love, rewarding but also challenging. The team tried to reach out widely and openly to many environmental justice experts and researchers, but also acknowledges that -some people were -unintentionally [left out](https://grist.org/equity/the-little-known-open-source-community-behind-the-governments-new-environmental-justice-tool/). +some people were unintentionally [left out](https://grist.org/equity/the-little-known-open-source-community-behind-the-governments-new-environmental-justice-tool/). But this is a starting point, not a finish line. The tool will be updated regularly throughout its life. We’re grateful it is built on a transparent foundation.