mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 19:00:24 +00:00
docs: honing
This commit is contained in:
parent
bc369da06e
commit
575353a9b1
3 changed files with 4 additions and 4 deletions
|
@ -280,7 +280,7 @@ content
|
||||||
└── _index_.md
|
└── _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
|
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`.
|
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
|
## Displaying Pages Exclusively in a Hugo Menu
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ Each level requires the previous one to be enabled. If no search is configured,
|
||||||
{{< /multiconfig >}}
|
{{< /multiconfig >}}
|
||||||
|
|
||||||
{{% notice note %}}
|
{{% 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`.
|
Check for duplicate URLs by running `hugo --printPathWarnings`.
|
||||||
{{% /notice %}}
|
{{% /notice %}}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
7.1.1+a36e20dad7da18a3a5018b4fa90760ba81262749
|
7.1.1+bc369da06e239e5a3606f3c7be04ffcd3fa14de2
|
Loading…
Reference in a new issue