diff options
author | Yoshiharu Yamashita <yoshiharuyamashita@users.noreply.github.com> | 2017-08-31 19:50:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-31 19:50:45 +0300 |
commit | 7231069ae44dae371e0c57b85a3c1c5d04f59ab3 (patch) | |
tree | 6c68ec3a15c58c59bdbff150baaba34e3c34914f | |
parent | 307ad99b0ff51a3641d7792ddf4941a650e4cd92 (diff) | |
parent | 6897524f01b277e99f61200e55ed719e691cde2f (diff) |
Merge pull request #51 from drguildo/fix/menu-weight
Fix menu order by using correct weight values
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | exampleSite/config.toml | 8 |
2 files changed, 8 insertions, 8 deletions
@@ -99,25 +99,25 @@ paginate = 10 [[menu.main]] name = "Home" pre = "<i class='fa fa-home fa-fw'></i>" - weight = 0 + weight = 1 identifier = "home" url = "/" [[menu.main]] name = "Posts" pre = "<i class='fa fa-list fa-fw'></i>" - weight = 1 + weight = 2 identifier = "post" url = "/post/" [[menu.main]] name = "About" pre = "<i class='fa fa-user fa-fw'></i>" - weight = 2 + weight = 3 identifier = "about" url = "/about/" [[menu.main]] name = "Contact" pre = "<i class='fa fa-phone fa-fw'></i>" - weight = 3 + weight = 4 url = "/contact/" [social] 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 = "<i class='fa fa-home fa-fw'></i>" - weight = 0 + weight = 1 identifier = "home" url = "/" [[menu.main]] name = "Posts" pre = "<i class='fa fa-list fa-fw'></i>" - weight = 1 + weight = 2 identifier = "post" url = "/post/" [[menu.main]] name = "About" pre = "<i class='fa fa-user fa-fw'></i>" - weight = 2 + weight = 3 identifier = "about" url = "/about/" [[menu.main]] name = "Contact" pre = "<i class='fa fa-phone fa-fw'></i>" - weight = 3 + weight = 4 url = "/contact/" [social] |