Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename new frontmatter tags #930

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions _includes/_template--blog-post-page.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<div class="grid-container">
<header class="padding-y-5">
<span class="site-c-flag">News &amp; blog</span>
<h1>{{ page.title }}</h1>
<h1>{{ page.title }}</h1>
<div class="site-c-blog-dateline">
{{ page.dateline_str }}
{% if page.readtime_str %}
- {{ page.readtime_str }} min read
{{ page.date | date: "%b %d, %Y" }}
{% if page.readtime_minutes %}
- {{ page.readtime_minutes }} min read
{% endif %}
</div>
<div class="site-c-blog-byline">By: {{ page.byline_str }}</div>
<div class="site-c-blog-byline">By: {{ page.author }}</div>
</header>
<hr aria-hidden="true">

Expand Down
2 changes: 1 addition & 1 deletion _includes/carousel-blog-posts.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<img src="{{ site.baseurl }}{{ item.carousel_image }}" alt="{{ item.carousel_image_alt_text }}" class="site-c-card__image"/>
{% endif %}
<div class="site-c-card__body">
<span class="site-c-flag">{{ item.dateline_str }}</span>
<span class="site-c-flag">{{ item.date | date: "%b %d, %Y" }}</span>
<h3 class="site-c-card__title">{{ item.carousel_title }}</h3>
{% if item.carousel_summary %}
<div class="usa-prose margin-top-2">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand Down Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand Down
6 changes: 3 additions & 3 deletions _news-and-blog/2023-04-07-why-we-serve-bill-chapman.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand Down
6 changes: 3 additions & 3 deletions _news-and-blog/2023-05-17-why-we-serve-sam-feudo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand Down
8 changes: 4 additions & 4 deletions _news-and-blog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand All @@ -70,7 +70,7 @@ carousel_show: true

# Blog detail page (Edit this)
title: "U.S. Digital Service"
dateline_str: ""
date: ""
permalink: /news-and-blog/___
---

Expand Down
1 change: 1 addition & 0 deletions pages/events.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
comment: This page is NOT IN USE. news-and-blog intercepts it.
published: false
layout: default
title: Events
Expand Down
2 changes: 1 addition & 1 deletion pages/news-and-blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h2 class="site-c-section-heading__heading">{{ content.inside_look.heading_title
<img src="{{ site.baseurl }}{{ item.carousel_image }}" alt="{{ item.carousel_image_alt_text }}" class="site-c-card__image"/>
{% endif %}
<div class="site-c-card__body">
<span class="site-c-flag">{{ item.dateline_str }}</span>
<span class="site-c-flag">{{ item.date | date: "%b %d, %Y" }}</span>
<h3 class="site-c-card__title">{{ item.carousel_title }}</h3>
{% if item.carousel_summary %}
<div class="usa-prose margin-top-2">
Expand Down