From a6b5e8826928374b5fd457ee67d2afcb0dd02965 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Mon, 17 Apr 2023 19:08:47 -0700 Subject: [PATCH] Add menu navigation only section in readme --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/README.md b/README.md index 423c751f..a5f8b5d2 100644 --- a/README.md +++ b/README.md @@ -323,6 +323,9 @@ url = "/search/" weight = 40 ``` +If you intend for the menu to be sufficient for all navigation, +see [how to hide other navigation features](#menu-navigation-only). + ## Layouts ### Cloud @@ -923,6 +926,34 @@ try the following in `yoursite/layouts/partials/paige/style-first.css`: } ``` +### Menu navigation only + +If you configure a menu, and intend for it to be sufficient for all navigation, +you should hide the breadcrumbs on every page, +and hide the collection, section, and page lists on the home page if you use the default home page layout. + +To hide the breadcrumbs on every page, +try the following in `yoursite/layouts/partials/paige/style-first.css`: + +```css +#paige-breadcrumbs { + display: none; +} +``` + +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; +}""" +``` + ## Implementation The HTML author is the page authors.