Skip to content

Commit

Permalink
FIx menu nav only doc to use config
Browse files Browse the repository at this point in the history
  • Loading branch information
willfaught committed Jul 30, 2024
1 parent c51041b commit 421b0f4
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1242,20 +1242,18 @@ To hide the breadcrumbs on every page,
try the following in `yoursite/hugo.toml`:
```toml
[params.paige]
style = """
#paige-breadcrumbs { display: none; }
"""
[params.paige.site]
disable_breadcrumbs = true
```
To hide the collection, section, and page lists on the home page,
try the following in `yoursite/content/_index.md`:
```toml
[paige]
style = """
#paige-collections, #paige-sections, #paige-pages { display: none; }
"""
[params.paige.list_page]
disable_collections = true
disable_pages = true
disable_sections = true
```
## Credits
Expand Down

0 comments on commit 421b0f4

Please sign in to comment.