Browse Source

rework menu

main
Hendrik Langer 5 years ago
parent
commit
e53fea6847
  1. 24
      config.toml
  2. 2
      content/about.de.md
  3. 2
      content/about.en.md
  4. 8
      content/post/_index.de.md
  5. 9
      content/post/_index.en.md

24
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

2
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
---

2
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
---

8
content/post/_index.de.md

@ -0,0 +1,8 @@
---
title: Blog
type: section
author: hendrik
menu: "main"
weight: 20
translationKey: "posts"
---

9
content/post/_index.en.md

@ -0,0 +1,9 @@
---
title: Blog
type: section
author: hendrik
menu: "main"
weight: 20
translationKey: "posts"
---
Loading…
Cancel
Save