diff options
author | Alexandros <onedrawingperday@users.noreply.github.com> | 2019-02-20 22:30:20 +0300 |
---|---|---|
committer | digitalcraftsman <digitalcraftsman@users.noreply.github.com> | 2019-02-20 22:30:20 +0300 |
commit | d5a9c64a7c68094e58cad4f76de5ec653379ccd5 (patch) | |
tree | 79328d9dd7c5189bbfb2533755d524e2b8d5d301 | |
parent | 6ad74b6295a8d8022019ab4b680b0b8b7a8545d0 (diff) |
Move menu configuration in config.toml (#25)
-rw-r--r-- | config.toml | 10 | ||||
-rw-r--r-- | content/post/creating-a-new-theme.md | 5 | ||||
-rw-r--r-- | content/post/goisforlovers.md | 1 | ||||
-rw-r--r-- | content/post/hugoisforlovers.md | 1 | ||||
-rw-r--r-- | content/post/migrate-from-jekyll.md | 4 |
5 files changed, 9 insertions, 12 deletions
diff --git a/config.toml b/config.toml index b9ded72..09f739f 100644 --- a/config.toml +++ b/config.toml @@ -16,4 +16,12 @@ title = "Hugo Themes" [languages.fr] languageName = "Français" weight = 2 -title = "Thèmes Hugo"
\ No newline at end of file +title = "Thèmes Hugo" + +[menu] + + [[menu.main]] + identifier = "tutorials" + name = "Tutorials" + url = "/post/" + weight = 5
\ No newline at end of file diff --git a/content/post/creating-a-new-theme.md b/content/post/creating-a-new-theme.md index 8fe3a30..bf33bc3 100644 --- a/content/post/creating-a-new-theme.md +++ b/content/post/creating-a-new-theme.md @@ -2,11 +2,6 @@ author: "Michael Henderson" date: 2014-09-28 linktitle: Creating a New Theme -menu: - main: - parent: tutorials -next: /tutorials/github-pages-blog -prev: /tutorials/automated-deployments title: Creating a New Theme weight: 10 series: diff --git a/content/post/goisforlovers.md b/content/post/goisforlovers.md index 07c2d75..003d8d5 100644 --- a/content/post/goisforlovers.md +++ b/content/post/goisforlovers.md @@ -13,7 +13,6 @@ categories = [ "Development", "golang", ] -menu = "main" series = ["Hugo 101"] +++ diff --git a/content/post/hugoisforlovers.md b/content/post/hugoisforlovers.md index e9f40e3..4712444 100644 --- a/content/post/hugoisforlovers.md +++ b/content/post/hugoisforlovers.md @@ -12,7 +12,6 @@ categories = [ "Development", "golang", ] -menu = "main" series = ["Hugo 101"] +++ diff --git a/content/post/migrate-from-jekyll.md b/content/post/migrate-from-jekyll.md index 6281d31..a8b5a35 100644 --- a/content/post/migrate-from-jekyll.md +++ b/content/post/migrate-from-jekyll.md @@ -1,10 +1,6 @@ --- date: 2014-03-10 linktitle: Migrating from Jekyll -menu: - main: - parent: tutorials -prev: /tutorials/mathjax title: Migrate to Hugo from Jekyll weight: 10 series: |