diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 72d9c45..d17f0f0 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -12,6 +12,21 @@ pygmentsUseClasses = true dark = "auto" highlight = true +[menu] + [[menu.main]] + identifier = "posts" + name = "posts" + title = "posts" + url = "/" + weight = 10 + + [[menu.main]] + identifier = "about" + name = "about" + title = "about" + url = "/about/" + weight = 20 + [permalinks] posts = "/:title/" diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 68b251e..3df21cd 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -2,10 +2,9 @@

{{ .Site.Title }}