diff options
author | Alexandros <onedrawingperday@users.noreply.github.com> | 2019-02-21 16:05:15 +0300 |
---|---|---|
committer | digitalcraftsman <digitalcraftsman@users.noreply.github.com> | 2019-02-21 16:05:15 +0300 |
commit | 7261cc00cf7c318398020ceb1bde00a0dcac9d2a (patch) | |
tree | 8862e5b3b03509d8998d0ff00c35e26a8bff413e | |
parent | 2941cdef6a905fdcaf1ee447a29986ff4feab5b5 (diff) |
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/)
-rw-r--r-- | config.toml | 10 | ||||
-rw-r--r-- | content/about.md | 4 |
2 files changed, 10 insertions, 4 deletions
diff --git a/config.toml b/config.toml index 09f739f..2c001c5 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 77adcf1..cdb01ec 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. |