From 132f2ebb9a5cab8ddfac343e95653c647433a6aa Mon Sep 17 00:00:00 2001 From: GLAD <38458082+glad-dev@users.noreply.github.com> Date: Sun, 29 Jan 2023 19:42:37 +0100 Subject: [PATCH] Adds weight to config.toml example --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index f57b78c..6351d32 100644 --- a/README.md +++ b/README.md @@ -242,10 +242,16 @@ paginate = 5 identifier = "about" name = "About" url = "/about" + + # The menu items are ordered alphabetically if no weight is provided. + # Otherwise, the menu items are ordered by weight from lowest to highest. + weight = 1 + [[languages.en.menu.main]] identifier = "showcase" name = "Showcase" url = "/showcase" + weight = 2 [module] # In case you would like to make changes to the theme and keep it locally in you repository,