Skip to content

Commit

Permalink
fix banner metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Laura Gerhardt committed Mar 18, 2020
1 parent f93eed6 commit b3d2518
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion _categories/animals.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: category
name: animals
title: "COVID-19 and Animals"
promoted: false
banner
banner:
display: false
heading: "This is a place to place urgent information"
content: "You can set this component to 'display: true' to show a banner at the top of the page."
Expand Down
2 changes: 1 addition & 1 deletion _categories/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: category
name: basics
title: "Coronavirus Disease 2019 Basics"
promoted: true
banner
banner:
display: false
heading: "This is a place to place urgent information"
content: "You can set this component to 'display: true' to show a banner at the top of the page."
Expand Down
2 changes: 1 addition & 1 deletion _categories/biosafety.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: category
name: biosafety
title: "Laboratory Biosafety"
promoted: false
banner
banner:
display: false
heading: "This is a place to place urgent information"
content: "You can set this component to 'display: true' to show a banner at the top of the page."
Expand Down
2 changes: 1 addition & 1 deletion _categories/cdc-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: category
name: cdc-actions
title: "What CDC Is Doing"
promoted: false
banner
banner:
display: false
heading: "This is a place to place urgent information"
content: "You can set this component to 'display: true' to show a banner at the top of the page."
Expand Down
2 changes: 1 addition & 1 deletion _categories/diagnostic-panels.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: category
name: diagnostic-panels
title: "Laboratory Diagnostic Panels"
promoted: false
banner
banner:
display: false
heading: "This is a place to place urgent information"
content: "You can set this component to 'display: true' to show a banner at the top of the page."
Expand Down
2 changes: 1 addition & 1 deletion _categories/funerals.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: category
name: funerals
title: "COVID-19 and Funerals"
promoted: false
banner
banner:
display: false
heading: "This is a place to place urgent information"
content: "You can set this component to 'display: true' to show a banner at the top of the page."
Expand Down
2 changes: 1 addition & 1 deletion _categories/healthcare-infection.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: category
name: healthcare-infection
title: "Healthcare Infection"
promoted: true
banner
banner:
display: false
heading: "This is a place to place urgent information"
content: "You can set this component to 'display: true' to show a banner at the top of the page."
Expand Down
2 changes: 1 addition & 1 deletion _categories/healthcare-professionals.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: category
name: healthcare-professionals
title: "Healthcare Professionals"
promoted: true
banner
banner:
display: false
heading: "This is a place to place urgent information"
content: "You can set this component to 'display: true' to show a banner at the top of the page."
Expand Down
2 changes: 1 addition & 1 deletion _categories/k12-childcare.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: category
name: k12-childcare
title: "K-12 Schools and Childcare Program Administrators"
promoted: false
banner
banner:
display: false
heading: "This is a place to place urgent information"
content: "You can set this component to 'display: true' to show a banner at the top of the page."
Expand Down
2 changes: 1 addition & 1 deletion _categories/ppe.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: category
name: ppe
title: "Personal Protective Equipment"
promoted: false
banner
banner:
display: false
heading: "This is a place to place urgent information"
content: "You can set this component to 'display: true' to show a banner at the top of the page."
Expand Down
2 changes: 1 addition & 1 deletion _categories/pregnancy.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: category
name: pregnancy
title: "Pregnant Women and COVID-19"
promoted: false
banner
banner:
display: false
heading: "This is a place to place urgent information"
content: "You can set this component to 'display: true' to show a banner at the top of the page."
Expand Down
2 changes: 1 addition & 1 deletion _categories/protect-yourself.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: category
name: protect-yourself
title: "Protect yourself"
promoted: true
banner
banner:
display: false
heading: "This is a place to place urgent information"
content: "You can set this component to 'display: true' to show a banner at the top of the page."
Expand Down
2 changes: 1 addition & 1 deletion _categories/spread.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: category
name: spread
title: "How It Spreads"
promoted: true
banner
banner:
display: false
heading: "This is a place to place urgent information"
content: "You can set this component to 'display: true' to show a banner at the top of the page."
Expand Down
2 changes: 1 addition & 1 deletion _categories/symptoms-and-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: category
name: symptoms-and-testing
title: "Symptoms and Testing"
promoted: true
banner
banner:
display: false
heading: "This is a place to place urgent information"
content: "You can set this component to 'display: true' to show a banner at the top of the page."
Expand Down
2 changes: 1 addition & 1 deletion _categories/travel.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: category
name: travel
title: "Traveling"
promoted: true
banner
banner:
display: false
heading: "This is a place to place urgent information"
content: "You can set this component to 'display: true' to show a banner at the top of the page."
Expand Down
2 changes: 1 addition & 1 deletion _categories/waste-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: category
name: waste-management
title: "Waste Management"
promoted: false
banner
banner:
display: false
heading: "This is a place to place urgent information"
content: "You can set this component to 'display: true' to show a banner at the top of the page."
Expand Down
2 changes: 1 addition & 1 deletion _categories/water-transmission.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: category
name: water-transmission
title: "Water Transmission"
promoted: false
banner
banner:
display: false
heading: "This is a place to place urgent information"
content: "You can set this component to 'display: true' to show a banner at the top of the page."
Expand Down
2 changes: 1 addition & 1 deletion _includes/content-questions.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<section class="grid-container usa-section usa-section--condensed border-top border-base-lightest">
<div class="grid-row grid-gap">
{% assign categories = site.content | group_by:"category" %}
{% assign promoted_site_categories = site.categories | where "promoted" %}
{% assign promoted_site_categories = site.categories | where: "promoted", "true" %}

{% for site_category in promoted_site_categories limit:6 %}
{% assign current_category = categories | where:"name", site_category.name | first %}
Expand Down

0 comments on commit b3d2518

Please sign in to comment.