From cebfb7a9006f6e6a4626c29e32c522a4e4836c5d Mon Sep 17 00:00:00 2001 From: sjjh <2787214+sjjh@users.noreply.github.com> Date: Sun, 7 Mar 2021 18:05:05 +0100 Subject: [PATCH] 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. --- content/en/variables/menus.md | 7 ++++--- 1 file 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_
-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_