diff options
author | sjjh <2787214+sjjh@users.noreply.github.com> | 2021-03-07 20:05:05 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-03-08 18:08:18 +0300 |
commit | cebfb7a9006f6e6a4626c29e32c522a4e4836c5d (patch) | |
tree | ede1ed877e9556b555b22d5d962a39f580aab0d3 | |
parent | 83190ff12a0de5a488ba71e5d3e111cb3e28b6f3 (diff) |
explaination that `weight` key is used for sorting
added a sentence to explain that by default menu entries are sorted ascending by their weight. As a new user you otherwise might not be familiar with it.
-rw-r--r-- | content/en/variables/menus.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/content/en/variables/menus.md b/content/en/variables/menus.md index 6717fecbb..d84837a43 100644 --- a/content/en/variables/menus.md +++ b/content/en/variables/menus.md @@ -64,9 +64,10 @@ a string representing HTML. .Weight : _int_ <br /> -Value of the `weight` key if set for the menu entry. If that key is not set, -and if the menu entry is set in a page front-matter, this value defaults to the -page's `.Weight`. +Value of the `weight` key if set for the menu entry. By default the entries in +a menu are sorted ascending by their `weight`. If that key is not set, and if +the menu entry is set in a page front-matter, this value defaults to the page's +`.Weight`. .Parent : _string_ <br /> |