From b581dbb6e5c093d4e091db21e06d529a35714ce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sat, 12 Oct 2024 18:44:36 +0200 Subject: [PATCH] docs: honing #567 --- .../authoring/frontmatter/navigationmenu/_index.en.md | 8 ++++---- .../configuration/sidebar/shortcutmenu/_index.en.md | 2 +- .../configuration/sidebar/shortcutmenu/_index.pir.md | 2 +- layouts/partials/version.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/exampleSite/content/authoring/frontmatter/navigationmenu/_index.en.md b/exampleSite/content/authoring/frontmatter/navigationmenu/_index.en.md index bf2b54686f..60d3a1f80f 100644 --- a/exampleSite/content/authoring/frontmatter/navigationmenu/_index.en.md +++ b/exampleSite/content/authoring/frontmatter/navigationmenu/_index.en.md @@ -18,11 +18,11 @@ If `alwaysopen=false` for any given entry, its children will not be shown in the The theme generates the expand state based on the following rules: -- all parent entries of the active page including their visible siblings are shown regardless of any settings +- all parent entries of the active page including their [visible](authoring/meta#hidden) siblings are shown regardless of any settings - immediate child entries of the active page are shown regardless of any settings - if not overridden, all other first level entries behave like they would have been given `alwaysopen=false` - if not overridden, all other entries of levels besides the first behave like they would have been given `alwaysopen=true` -- all visible entries show their immediate child entries if `alwaysopen=true`; this proceeds recursively +- all [visible](authoring/meta#hidden) entries show their immediate child entries if `alwaysopen=true`; this proceeds recursively - all remaining entries are not shown ## Expander for Nested Sections @@ -51,7 +51,7 @@ title = 'My page' weight = 5 {{< /multiconfig >}} -### Other +### By Other {{% badge style="cyan" icon="gears" title=" " %}}Option{{% /badge %}} {{% badge style="green" icon="fa-fw fab fa-markdown" title=" " %}}Front Matter{{% /badge %}} Using the `weight` for sorting can get cumbersome if you, for example, just want to sort alphabetically. Each time you add a new page in the set of pages, you may have to renumber some or all of them to make space for the new page. @@ -65,7 +65,7 @@ By default, the Relearn theme will use a page's `title` front matter for the men {{% badge style="green" icon="fa-fw fab fa-markdown" title=" " %}}Front Matter{{% /badge %}} But a page's title has to be descriptive on its own while the menu is a hierarchy. Use `linkTitle` to shorten the text of the menu entry. -For example (for a page named `install/linux.md`): +For example for a page named `install/linux.md` {{< multiconfig fm=true >}} title = 'Install on Linux' diff --git a/exampleSite/content/configuration/sidebar/shortcutmenu/_index.en.md b/exampleSite/content/configuration/sidebar/shortcutmenu/_index.en.md index 739bf9ae97..2f55d601eb 100644 --- a/exampleSite/content/configuration/sidebar/shortcutmenu/_index.en.md +++ b/exampleSite/content/configuration/sidebar/shortcutmenu/_index.en.md @@ -2,7 +2,7 @@ description = "Add additional shortcut links to the sidebar" options = ["disableShortcutsTitle"] title = "Shortcut Menu" -weight = 5 +weight = 4 +++ The sidebar contains your content's navigation menu, but you can also add extra menu entries or shortcuts in a separate section. diff --git a/exampleSite/content/configuration/sidebar/shortcutmenu/_index.pir.md b/exampleSite/content/configuration/sidebar/shortcutmenu/_index.pir.md index 19b1368f21..26e89572ce 100644 --- a/exampleSite/content/configuration/sidebar/shortcutmenu/_index.pir.md +++ b/exampleSite/content/configuration/sidebar/shortcutmenu/_index.pir.md @@ -2,6 +2,6 @@ description = "Add additional shortcut links to the sidebar" options = ["disableShortcutsTitle"] title = "Shortcut Menu" -weight = 5 +weight = 4 +++ {{< piratify >}} \ No newline at end of file diff --git a/layouts/partials/version.txt b/layouts/partials/version.txt index 9323758679..ab65c455bd 100644 --- a/layouts/partials/version.txt +++ b/layouts/partials/version.txt @@ -1 +1 @@ -6.4.0+dcaeb1386051e27116d0a4039e26d832d9985c9e \ No newline at end of file +6.4.0+e4e750c1cce67804f5bc889a71bc27024c922f4b \ No newline at end of file