Skip to content

Commit

Permalink
added search for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
vickytnz committed Sep 3, 2024
1 parent f863599 commit 5aa9ad8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _site/examples/complex-question/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</span>
</a>
</div>
<site-search class="app-site-search govuk-!-display-none-print" index="/search.json" label="Search site"><a class="app-site-search__link" href="/sitemap">Sitemap</a></site-search>
<site-search class="app-site-search govuk-!-display-none-print" index="/search.json" label="Search examples"><a class="app-site-search__link" href="/sitemap">Sitemap</a></site-search>

</div>
</header>
Expand Down
2 changes: 1 addition & 1 deletion _site/examples/list/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</span>
</a>
</div>
<site-search class="app-site-search govuk-!-display-none-print" index="/search.json" label="Search site"><a class="app-site-search__link" href="/sitemap">Sitemap</a></site-search>
<site-search class="app-site-search govuk-!-display-none-print" index="/search.json" label="Search examples"><a class="app-site-search__link" href="/sitemap">Sitemap</a></site-search>

</div>
</header>
Expand Down
2 changes: 1 addition & 1 deletion _site/examples/tabs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</span>
</a>
</div>
<site-search class="app-site-search govuk-!-display-none-print" index="/search.json" label="Search site"><a class="app-site-search__link" href="/sitemap">Sitemap</a></site-search>
<site-search class="app-site-search govuk-!-display-none-print" index="/search.json" label="Search examples"><a class="app-site-search__link" href="/sitemap">Sitemap</a></site-search>

</div>
</header>
Expand Down
2 changes: 1 addition & 1 deletion _site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</span>
</a>
</div>
<site-search class="app-site-search govuk-!-display-none-print" index="/search.json" label="Search site"><a class="app-site-search__link" href="/sitemap">Sitemap</a></site-search>
<site-search class="app-site-search govuk-!-display-none-print" index="/search.json" label="Search examples"><a class="app-site-search__link" href="/sitemap">Sitemap</a></site-search>

</div>
</header>
Expand Down
3 changes: 2 additions & 1 deletion eleventy.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ module.exports = function(eleventyConfig) {
productName: 'Fix common accessibility mistakes in forms',
search: {
indexPath: '/search.json',
sitemapPath: '/sitemap'
sitemapPath: '/sitemap',
label: "Search examples"
}
},

Expand Down

0 comments on commit 5aa9ad8

Please sign in to comment.