Move About menu item to config (#28)
This should fix the About menu item duplication in various theme demos like in [this one](https://themes.gohugo.io//theme/hermit/)
This commit is contained in:
parent
2941cdef6a
commit
7261cc00cf
10
config.toml
10
config.toml
|
@ -23,5 +23,11 @@ title = "Thèmes Hugo"
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
identifier = "tutorials"
|
identifier = "tutorials"
|
||||||
name = "Tutorials"
|
name = "Tutorials"
|
||||||
url = "/post/"
|
url = "post/"
|
||||||
weight = 5
|
weight = 5
|
||||||
|
|
||||||
|
[[menu.main]]
|
||||||
|
identifier = "about"
|
||||||
|
name = "About"
|
||||||
|
url = "about/"
|
||||||
|
weight = 10
|
|
@ -1,7 +1,7 @@
|
||||||
+++
|
+++
|
||||||
title = "About Hugo"
|
title = "About"
|
||||||
date = "2014-04-09"
|
date = "2014-04-09"
|
||||||
menu = "main"
|
aliases = ["about-us","about-hugo"]
|
||||||
+++
|
+++
|
||||||
|
|
||||||
Hugo is the **world’s fastest framework for building websites**. It is written in Go.
|
Hugo is the **world’s fastest framework for building websites**. It is written in Go.
|
||||||
|
|
Loading…
Reference in New Issue