Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Robert Lloyd <[email protected]>
  • Loading branch information
frankieroberto and paulrobertlloyd authored Dec 19, 2023
1 parent c953dfc commit bc9fa9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions docs/examples/secondary-navigation-with-header.njk
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
---
eleventyExcludeFromCollections: true
layout: example.njk
title: Secondary navigation with header
title: Secondary navigation example with header
---
{% from "x-govuk/components/secondary-navigation/macro.njk" import xGovukSecondaryNavigation %}

<span class="govuk-caption-l">Case #161351</span>
<h1 class="govuk-heading-l">James Smith</h1>

{% from "x-govuk/components/secondary-navigation/macro.njk" import xGovukSecondaryNavigation %}
{{ xGovukSecondaryNavigation({
items: [{
text: "Overview",
Expand Down
3 changes: 1 addition & 2 deletions docs/examples/secondary-navigation.njk
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
eleventyExcludeFromCollections: true
layout: example.njk
title: Secondary navigation
title: Secondary navigation example
---
{% from "x-govuk/components/secondary-navigation/macro.njk" import xGovukSecondaryNavigation %}

{{ xGovukSecondaryNavigation({
items: [{
text: "Overview",
Expand Down

0 comments on commit bc9fa9e

Please sign in to comment.