From 7261cc00cf7c318398020ceb1bde00a0dcac9d2a Mon Sep 17 00:00:00 2001 From: Alexandros Date: Thu, 21 Feb 2019 15:05:15 +0200 Subject: [PATCH] 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/) --- config.toml | 10 ++++++++-- content/about.md | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/config.toml b/config.toml index 09f739fe..2c001c53 100644 --- a/config.toml +++ b/config.toml @@ -23,5 +23,11 @@ title = "Thèmes Hugo" [[menu.main]] identifier = "tutorials" name = "Tutorials" - url = "/post/" - weight = 5 \ No newline at end of file + url = "post/" + weight = 5 + + [[menu.main]] + identifier = "about" + name = "About" + url = "about/" + weight = 10 \ No newline at end of file diff --git a/content/about.md b/content/about.md index 77adcf16..cdb01ec8 100644 --- a/content/about.md +++ b/content/about.md @@ -1,7 +1,7 @@ +++ -title = "About Hugo" +title = "About" 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.