From e53fea6847aca18bf79462dcc5c7c73ef4f49e4e Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Sun, 3 May 2020 10:38:10 +0200 Subject: [PATCH] rework menu --- config.toml | 24 ++++++++++++------------ content/about.de.md | 2 ++ content/about.en.md | 2 ++ content/post/_index.de.md | 8 ++++++++ content/post/_index.en.md | 9 +++++++++ 5 files changed, 33 insertions(+), 12 deletions(-) create mode 100644 content/post/_index.de.md create mode 100644 content/post/_index.en.md diff --git a/config.toml b/config.toml index 7d308d3..0fb5dc2 100644 --- a/config.toml +++ b/config.toml @@ -22,7 +22,7 @@ preserveTaxonomyNames = true copyrighturl = "/about/" # Show the "built on Hugo" disclaimer - showhugo = false + #showhugo = true # Urls for social networks #facebook = "https://facebook.com" @@ -53,17 +53,17 @@ preserveTaxonomyNames = true [menu] # This displays buttons in the navbar to access your contents - [[menu.main]] - identifier = "about" # An unique identifier for the button - name = "About" # A display name for the button - url = "/about/" # The path to the content. It can lead to a single page (like here) - weight = 90 # A number to order the buttons in the navbar - - [[menu.main]] - identifier = "posts" - name = "Blog" - url = "/post/" # The path can lead to a content folder too. - weight = 20 +# [[menu.main]] +# identifier = "about" # An unique identifier for the button +# name = "About" # A display name for the button +# url = "/about/" # The path to the content. It can lead to a single page (like here) +# weight = 90 # A number to order the buttons in the navbar + +# [[menu.main]] +# identifier = "posts" +# name = "Blog" +# url = "/post/" # The path can lead to a content folder too. +# weight = 20 # [[menu.main]] # identifier = "test" # An unique identifier for the button diff --git a/content/about.de.md b/content/about.de.md index b2bab6b..13bb552 100644 --- a/content/about.de.md +++ b/content/about.de.md @@ -3,6 +3,8 @@ title: About description: Über h3ndrik.de date: 2020-04-27 aliases: ["about-us","contact","impressum"] +menu: "main" +weight: 90 author: hendrik --- diff --git a/content/about.en.md b/content/about.en.md index 5bc196d..a90b11c 100644 --- a/content/about.en.md +++ b/content/about.en.md @@ -3,6 +3,8 @@ title: About description: About h3ndrik.de date: 2020-04-27 aliases: ["about-us","contact"] +menu: "main" +weight: 90 author: hendrik --- diff --git a/content/post/_index.de.md b/content/post/_index.de.md new file mode 100644 index 0000000..c159488 --- /dev/null +++ b/content/post/_index.de.md @@ -0,0 +1,8 @@ +--- +title: Blog +type: section +author: hendrik +menu: "main" +weight: 20 +translationKey: "posts" +--- diff --git a/content/post/_index.en.md b/content/post/_index.en.md new file mode 100644 index 0000000..00dd3dc --- /dev/null +++ b/content/post/_index.en.md @@ -0,0 +1,9 @@ +--- +title: Blog +type: section +author: hendrik +menu: "main" +weight: 20 +translationKey: "posts" +--- +