From 6897524f01b277e99f61200e55ed719e691cde2f Mon Sep 17 00:00:00 2001 From: Simon Morgan Date: Thu, 31 Aug 2017 13:12:55 +0100 Subject: Fix menu order by using correct weight values According to https://discourse.gohugo.io/t/menu-weight-and-other-oddity/5653/2 menu weights should start at 1 as 0 is treated as the absence of a value. --- exampleSite/config.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 1491acf..c746abc 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -26,25 +26,25 @@ paginate = 10 [[menu.main]] name = "Home" pre = "" - weight = 0 + weight = 1 identifier = "home" url = "/" [[menu.main]] name = "Posts" pre = "" - weight = 1 + weight = 2 identifier = "post" url = "/post/" [[menu.main]] name = "About" pre = "" - weight = 2 + weight = 3 identifier = "about" url = "/about/" [[menu.main]] name = "Contact" pre = "" - weight = 3 + weight = 4 url = "/contact/" [social] -- cgit v1.2.3