Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/yoshiharuyamashita/blackburn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshiharu Yamashita <yoshiharuyamashita@users.noreply.github.com>2017-08-31 19:50:45 +0300
committerGitHub <noreply@github.com>2017-08-31 19:50:45 +0300
commit7231069ae44dae371e0c57b85a3c1c5d04f59ab3 (patch)
tree6c68ec3a15c58c59bdbff150baaba34e3c34914f
parent307ad99b0ff51a3641d7792ddf4941a650e4cd92 (diff)
parent6897524f01b277e99f61200e55ed719e691cde2f (diff)
Merge pull request #51 from drguildo/fix/menu-weight
Fix menu order by using correct weight values
-rw-r--r--README.md8
-rw-r--r--exampleSite/config.toml8
2 files changed, 8 insertions, 8 deletions
diff --git a/README.md b/README.md
index ad3c881..122f4ab 100644
--- a/README.md
+++ b/README.md
@@ -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]