From 575353a9b128563d7d1a3c1fbbbb8e68d859ae47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Fri, 29 Nov 2024 19:31:39 +0100 Subject: [PATCH] docs: honing --- exampleSite/content/configuration/sidebar/menus/_index.en.md | 4 ++-- exampleSite/content/configuration/sidebar/search/_index.en.md | 2 +- layouts/partials/version.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/exampleSite/content/configuration/sidebar/menus/_index.en.md b/exampleSite/content/configuration/sidebar/menus/_index.en.md index d75e688f97..03b216b506 100644 --- a/exampleSite/content/configuration/sidebar/menus/_index.en.md +++ b/exampleSite/content/configuration/sidebar/menus/_index.en.md @@ -280,7 +280,7 @@ content └── _index_.md ```` -You now want to include `ref-b` as separate entry after `topic-green` in your menu. +You now want to include `ref-b` as separate `topic-green` entry after `topic-blue` in your menu. For that create a new page with the following front matter @@ -295,7 +295,7 @@ Pages defining a crosslink are never part of the arrow navigation and are skippe So with the above example and alphabetical sorting of the menu entries, pressing {{% button style="transparent" icon="chevron-right" %}}{{% /button %}} on `topic-blue` will skip the newly added `topic-green` and instead will load `topic-red`. -Having sub pages below a page that defines a crosslink is undefined. +Having sub pages below a page that has `menuUrl` or `menuPageRef` set in their front matter is undefined. ## Displaying Pages Exclusively in a Hugo Menu diff --git a/exampleSite/content/configuration/sidebar/search/_index.en.md b/exampleSite/content/configuration/sidebar/search/_index.en.md index a76623b416..1b81b1ed77 100644 --- a/exampleSite/content/configuration/sidebar/search/_index.en.md +++ b/exampleSite/content/configuration/sidebar/search/_index.en.md @@ -41,7 +41,7 @@ Each level requires the previous one to be enabled. If no search is configured, {{< /multiconfig >}} {{% notice note %}} -Only change these if you have content at those URLs. This can happen with `uglyURLs=true` in `hugo.toml` and having a content file at `content/search.md`. +You only need to change these if you have other own content created for those URLs. This can happen with `uglyURLs=true` in `hugo.toml` and having a content file at `content/search.md`. Check for duplicate URLs by running `hugo --printPathWarnings`. {{% /notice %}} diff --git a/layouts/partials/version.txt b/layouts/partials/version.txt index d09671645a..ef6f914392 100644 --- a/layouts/partials/version.txt +++ b/layouts/partials/version.txt @@ -1 +1 @@ -7.1.1+a36e20dad7da18a3a5018b4fa90760ba81262749 \ No newline at end of file +7.1.1+bc369da06e239e5a3606f3c7be04ffcd3fa14de2 \ No newline at end of file