Less menus on config

This commit is contained in:
C. Lente 2023-02-09 17:17:51 -03:00
parent 4b84339a4f
commit 7a4c8fd24b
No known key found for this signature in database
GPG key ID: B0B503C26E05781B
4 changed files with 14 additions and 24 deletions

View file

@ -8,7 +8,6 @@ theme = "hugo-bearcub"
# Basic metadata configuration for your blog.
author = "Caio Lente"
copyright = "Caio Lente (CC BY-SA 4.0)"
DefaultContentLanguage = "en"
# highlighting without inline styles
[markup]
@ -21,6 +20,7 @@ DefaultContentLanguage = "en"
# There are different options to translate files
# See https://gohugo.io/content-management/multilingual/#translation-by-filename
# And https://gohugo.io/content-management/multilingual/#translation-by-content-directory
DefaultContentLanguage = "en"
[languages]
[languages.en]
title = "Example Site"
@ -39,14 +39,6 @@ DefaultContentLanguage = "en"
name = 'Blog'
url = '/blog'
weight = 2
[[languages.en.menu.main]]
name = 'Email'
url = '/ERRORERRORERROR'
weight = 3
[[languages.en.menu.main]]
name = 'RSS'
url = '/index.xml'
weight = 4
[languages.pt]
title = "Site Exemplo"
languageName = "Português 🇧🇷"
@ -64,14 +56,6 @@ DefaultContentLanguage = "en"
name = 'Blog'
url = '/pt/blog'
weight = 2
[[languages.pt.menu.main]]
name = 'Email'
url = '/pt/ERRORERRORERROR'
weight = 3
[[languages.pt.menu.main]]
name = 'RSS'
url = '/pt/index.xml'
weight = 4
[params]
# The "description" of your website. This is used in the meta data of your generated html.
@ -98,3 +82,6 @@ DefaultContentLanguage = "en"
# /!\ This is an experimental feature, might be removed or changed at any time
# (Optional, experimental, default false) Enables a drop-down menu for translations only if a translation is present.
hideUntranslated = false
# Email
email = "c@lente.dev"