🚧 Add Spanish translation to exampleSite

🔧 Add language and menu configuration for spanish language
🌐 Add spanish translations for the homepage and menu
This commit is contained in:
Alejandro Gaspar
2023-07-16 03:01:31 -06:00
parent 60fc10dfb1
commit f1f89d29d7
7 changed files with 214 additions and 0 deletions
@@ -0,0 +1,28 @@
languageCode = "es-mx"
languageName = "Español (México)"
weight = 2
title = "Congo"
copyright = "© 2023 Congo contributors"
[params]
isoCode = "es-MX"
displayName = ":flag-mx:"
rtl = false
dateFormat = "2 January 2006"
mainSections = ["Ejemplos"]
description = "Un tema poderoso y liviano para Hugo creado con Tailwind CSS."
[author]
name = "Congo"
image = "img/author.jpg"
headline = "¡No es tu tema ordinario!"
bio = "Esta es una biografía de autor de ejemplo, y aunque aquí hay una foto de archivo de un perro, este artículo en realidad fue creado por un ser humano. :dog:"
links = [
{ twitter = "https://twitter.com/" },
{ facebook = "https://facebook.com/" },
{ linkedin = "https://linkedin.com/" },
{ youtube = "https://youtube.com/" },
]
+50
View File
@@ -0,0 +1,50 @@
# -- Main Menu --
# The main menu is displayed in the header at the top of the page.
# Acceptable parameters are name, pageRef, page, url, title, weight.
#
# The simplest menu configuration is to provide:
# name = The name to be displayed for this menu link
# pageRef = The identifier of the page or section to link to
#
# By default the menu is ordered alphabetically. This can be
# overridden by providing a weight value. The menu will then be
# ordered by weight from lowest to highest.
[[main]]
name = "Docs"
url = "/docs"
weight = 10
[[main]]
name = "Ejemplos"
pageRef = "samples"
weight = 20
[[main]]
name = "Usuarios"
pageRef = "users"
weight = 30
[[main]]
name = "GitHub"
url = "https://github.com/jpanther/congo"
weight = 40
[main.params]
icon = "github"
showName = false
target = "_blank"
[[main]]
identifier = "search"
weight = 99
[main.params]
action = "search"
# -- Footer Menu --
# The footer menu is displayed at the bottom of the page, just before
# the copyright notice. Configure as per the main menu above.
# [[footer]]
# name = "Tags"
# pageRef = "tags"
# weight = 10