Skip to content

Commit

Permalink
Add page with single page navigation to example
Browse files Browse the repository at this point in the history
This should (hopefully) make it easier to catch issues like #250 when making changes to the navigation code.
  • Loading branch information
36degrees committed Jul 29, 2021
1 parent f360b5d commit a19a918
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions example/config/tech-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ header_links:
Expired page: /expired-page.html
Expired with owner: /expired-page-with-owner.html
Not expired page: /not-expired-page.html
Single page nav: /single-page-nav.html

footer_links:
Accessibility: /hidden-page.html
Expand Down
13 changes: 13 additions & 0 deletions example/source/single-page-nav.html.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
layout: layout
multipage_nav: false
hide_in_navigation: true
---

# A page that does not use multi-page navigation

## A subheader

### A h3 subheader

## Another subheader

0 comments on commit a19a918

Please sign in to comment.