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:
Alexandros 2019-02-21 15:05:15 +02:00 committed by digitalcraftsman
parent 2941cdef6a
commit 7261cc00cf
2 changed files with 10 additions and 4 deletions

View File

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

View File

@ -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 **worlds fastest framework for building websites**. It is written in Go. Hugo is the **worlds fastest framework for building websites**. It is written in Go.