Skip to content

Commit

Permalink
Added parentids to breadcrumbs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbum committed Jan 19, 2024
1 parent 52ceeaa commit 86d99da
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/pages/content-design/odi-style-guide.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: ODI’s style guide
parentid: Content design
description: How ODI keeps our writing consistent, including the reasons for our choices
headerlabel: Guides and playbooks
headericon: book
Expand Down
1 change: 1 addition & 0 deletions docs/pages/content-design/plain-language-checklist.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Plain language checklist
parentid: Content design
description: ODI's detailed guide for making sure content is in plain language
layout: single-column
headerlabel: Guides and playbooks
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: page
title: Plain language equity standard
parentid: Content design
description: ODI’s recommendations for how to help everyone understand content
headerlabel: Standards and principles
headericon: star
Expand Down
1 change: 1 addition & 0 deletions docs/pages/content-design/principles.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Content design principles
description: ODI’s 7 keys for writing great content, including ways to implement them
layout: single-column
parentid: Content design
headerlabel: Standards and principles
headericon: star
---
Expand Down
1 change: 1 addition & 0 deletions docs/pages/content-design/principles/be-concise.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Be concise
parentid: Content design
description: Simple writing supports equal outcomes.
headerlabel: Standards and principles
headericon: star
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Build in accessibility from the start
parentid: Content design
description: Accessibility goes beyond the technical components of a website. It’s about including everyone who has a right to information.
headerlabel: Standards and principles
headericon: star
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Focus on user needs and services
parentid: Content design
description: Give people what they need and direct them to services.
headerlabel: Standards and principles
headericon: star
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Meet your audience where they are
parentid: Content design
description: Knowing who they are and what they need helps you design for them.
headerlabel: Standards and principles
headericon: star
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Organize content strategically
parentid: Content design
description: Well-organized content helps readers find what they’re looking for.
headerlabel: Standards and principles
headericon: star
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Write in plain language
parentid: Content design
description: Do the hard work to make content simple for people to understand.
headerlabel: Standards and principles
headericon: star
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Write with a conversational and official voice
parentid: Content design
description: Give reliable information with confidence.
headerlabel: Standards and principles
headericon: star
Expand Down
1 change: 1 addition & 0 deletions docs/pages/content-design/recommended-reading.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Recommended reading: content design"
parentid: Content design
description: Articles, guides, and tools to learn more about content design
headerlabel: Recommended reading
headericon: bookmark
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Forecasting community water system outages
parentid: Data
description: ODI used data to forecast the impact of drought on community water systems.
headerlabel: Papers
headericon: paper
Expand Down
1 change: 1 addition & 0 deletions docs/pages/front-matter.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Article front matter
parentid: Dev
---

We can add data to articles through use of [front matter](https://www.11ty.dev/docs/data-frontmatter/). Here's a full example; all fields are optional.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Innovation Skills Accelerator
parentid: Human-centered design
description: A 15-unit, self-paced course available to all State of California staff
layout: single-column
keywords:
Expand Down
1 change: 1 addition & 0 deletions docs/pages/markdown.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Markdown preview tests
parentid: Dev
---

Here's a page for documenting and testing our markdown preview capabilities.
Expand Down
1 change: 1 addition & 0 deletions docs/pages/product-management/run-of-show.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Run-of-show
parentid: Product management
description: How to keep things organized in the lead up to a launch, announcement, or update
layout: single-column
headerlabel: Templates
Expand Down
2 changes: 1 addition & 1 deletion docs/site/_includes/layouts/page.njk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<a class="crumb" href="/" title="Innovation Hub">Innovation Hub</a>
{% if parentid %}
<span class="crumb separator">/</span>
<span class="crumb">{{ fileids[parentid] | safe }}</span>
<span class="crumb">{{ parentid | safe }}</span>
{% endif %}
<span class="crumb separator">/</span>
<span class="crumb current">{{ title | safe }}</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/site/_includes/layouts/single-column-wide.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<a class="crumb" href="/" title="Innovation Hub">Innovation Hub</a>
{% if parentid %}
<span class="crumb separator">/</span>
<span class="crumb">{{ fileids[parentid] | safe }}</span>
<span class="crumb">{{ parentid | safe }}</span>
{% endif %}
<span class="crumb separator">/</span>
<span class="crumb current">{{ title | safe }}</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/site/_includes/layouts/single-column.njk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<a class="crumb" href="/" title="Innovation Hub">Innovation Hub</a>
{% if parentid %}
<span class="crumb separator">/</span>
<span class="crumb">{{ fileids[parentid] | safe }}</span>
<span class="crumb">{{ parentid | safe }}</span>
{% endif %}
<span class="crumb separator">/</span>
<span class="crumb current">{{ title | safe }}</span>
Expand Down

0 comments on commit 86d99da

Please sign in to comment.