git: 22024328a9 - main - Fix download link and translate Hugo theme to Spanish

From: Sergio Carlavilla Delgado <carlavilla_at_FreeBSD.org>
Date: Sat, 11 Dec 2021 11:55:43 UTC
The branch main has been updated by carlavilla:

URL: https://cgit.FreeBSD.org/doc/commit/?id=22024328a92825fe734ab1543728b9a486a7ed36

commit 22024328a92825fe734ab1543728b9a486a7ed36
Author:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
AuthorDate: 2021-12-11 11:55:14 +0000
Commit:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
CommitDate: 2021-12-11 11:55:14 +0000

    Fix download link and translate Hugo theme to Spanish
---
 documentation/config/_default/config.toml       |  2 +-
 documentation/config/offline/config.toml        |  2 +-
 documentation/themes/beastie/i18n/es.toml       | 92 ++++++++++++-------------
 documentation/themes/beastie/layouts/index.html |  2 +-
 4 files changed, 49 insertions(+), 49 deletions(-)

diff --git a/documentation/config/_default/config.toml b/documentation/config/_default/config.toml
index 2fd2f23b60..4ed0f325b4 100644
--- a/documentation/config/_default/config.toml
+++ b/documentation/config/_default/config.toml
@@ -14,7 +14,7 @@ enableRobotsTXT = true
 googleAnalytics = 'UA-22767463-1'
 
 [params]
-  websiteURL = "https://www.FreeBSD.org/"
+  websiteURL = "https://www.FreeBSD.org"
   description = "FreeBSD Documentation Portal"
   isOnline = true
 
diff --git a/documentation/config/offline/config.toml b/documentation/config/offline/config.toml
index 247daf3a1a..b34b7e4ae8 100644
--- a/documentation/config/offline/config.toml
+++ b/documentation/config/offline/config.toml
@@ -13,7 +13,7 @@ ignoreFiles = [ "chapter.adoc$", "contrib-386bsd.adoc$", "contrib-additional.ado
 enableRobotsTXT = true
 
 [params]
-  websiteURL = "https://www.FreeBSD.org/"
+  websiteURL = "https://www.FreeBSD.org"
   description = "FreeBSD Documentation Portal"
   isOnline = false
 
diff --git a/documentation/themes/beastie/i18n/es.toml b/documentation/themes/beastie/i18n/es.toml
index d5a9eae6c5..cfc7fd4b30 100644
--- a/documentation/themes/beastie/i18n/es.toml
+++ b/documentation/themes/beastie/i18n/es.toml
@@ -5,94 +5,94 @@
 other = "FreeBSD"
 
 [freebsd-project]
-other = "The FreeBSD Project"
+other = "El Proyecto FreeBSD"
 
 [freebsd-foundation]
-other = "The FreeBSD Foundation"
+other = "La Fundación FreeBSD"
 
 [freebsd-documentation]
-other = "FreeBSD Documentation"
+other = "Documentación de FreeBSD"
 
 [freebsd-documentation-main-desc]
-other = "FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms."
+other = "FreeBSD es un sistema operativo utilizado en servidores, ordenadores de escritorio y plataformas embebidas."
 
 [global-search-placeholder]
-other = "Search in the articles, books and guides."
+other = "Buscar en los artículos, libros y guías."
 
 [toc]
-other = "Table of Contents"
+other = "Tabla de contenidos"
 
 [resources]
-other = "Resources"
+other = "Recursos"
 
 [download-pdf]
-other = "Download PDF"
+other = "Descargar PDF"
 
 [edit-page]
-other = "Edit this page"
+other = "Editar esta página"
 
 [trademarks]
-other = "trademarks"
+other = "Marcas registradas"
 
 [books]
-other = "Books"
+other = "Libros"
 
 [articles]
-other = "Articles"
+other = "Artículos"
 
 # ---------------------------------------------------
 # Header
 # ---------------------------------------------------
 [documentation]
-other = "Documentation"
+other = "Documentación"
 
 [community]
-other = "Community"
+other = "Comunidad"
 
 # ---------------------------------------------------
 # Main page
 # ---------------------------------------------------
 [getting-started]
-other = "Getting started"
+other = "Para empezar"
 
 [learn-basics]
-other = "Learn about FreeBSD basics"
+other = "Más información sobre los conceptos básicos de FreeBSD"
 
 [download]
-other = "Download"
+other = "Descargar"
 
 [download-freebsd]
-other = "Download FreeBSD"
+other = "Descargar FreeBSD"
 
 [handbook]
-other = "FreeBSD Handbook"
+other = "Manual de FreeBSD"
 
 [handbook-desc]
-other = "A constantly evolving, comprehensive resource for FreeBSD users"
+other = "Un recurso completo y en constante evolución para los usuarios de FreeBSD"
 
 [porters-handbook]
-other = "FreeBSD Porter's Handbook"
+other = "Manual de FreeBSD Porter's"
 
 [porters-handbook-desc]
-other = "A complete reference about the FreeBSD ports system"
+other = "Una referencia completa sobre el sistema de ports FreeBSD"
 
 [faq]
 other = "FreeBSD FAQ"
 
 [faq-desc]
-other = "FreeBSD frequently Asked Questions (FAQ) for 13.X and 12.X"
+other = "Preguntas frecuentes (FAQ) de FreeBSD para 13.X y 12.X"
 
 [fdp]
 other = "Documentation Project Primer"
 
 [fdp-desc]
-other = "A complete guide about how to start contributing to the documentation"
+other = "Una guía completa sobre cómo empezar a contribuir en la documentación."
 
 [books-list]
-other = "List of FreeBSD books"
+other = "Lista de libros de FreeBSD"
 
 [articles-list]
-other = "List of FreeBSD articles"
+other = "Lista de artículos de FreeBSD"
 
 [manual-pages]
 other = "Manual pages"
@@ -104,79 +104,79 @@ other = "FreeBSD Manual Pages"
 # Footer
 # ---------------------------------------------------
 [light]
-other = "Light"
+other = "Claro"
 
 [dark]
-other = "Dark"
+other = "Oscuro"
 
 [high-contrast]
-other = "High contrast"
+other = "Alto contraste"
 
 [previous-versions]
-other = "Previous versions"
+other = "Versiones anteriores"
 
 [4-4bsd-documents]
 other = "4.4BSD Documents"
 
 [about]
-other = "About"
+other = "Acerca de"
 
 [legal]
 other = "Legal"
 
 [donations]
-other = "Donations"
+other = "Donaciones"
 
 [legal-notices]
-other = "Legal notices"
+other = "Avisos legales"
 
 [made-with]
-other = "Made with"
+other = "Hecho con"
 
 [by-freebsd-community]
-other = "by the FreeBSD Community"
+other = "por la comunidad de FreeBSD"
 
 [copyright]
-other = "All rights reserved."
+other = "Todos los derechos reservados."
 
 # ---------------------------------------------------
 # Articles page
 # ---------------------------------------------------
 [list-desc-articles]
-other = "Explore a comprehensive list of FreeBSD articles."
+other = "Explore una lista completa de artículos de FreeBSD."
 
 # ---------------------------------------------------
 # Books page
 # ---------------------------------------------------
 [prev]
-other = "Prev"
+other = "Anterior"
 
 [next]
-other = "Next"
+other = "Siguiente"
 
 [split-html]
-other = "Split HTML"
+other = "HTML dividido"
 
 [single-html]
-other = "Single HTML"
+other = "HTML completo"
 
 [book-chapters]
-other = "Book chapters"
+other = "Capítulos del libro"
 
 [book-menu]
-other = "Book menu"
+other = "Menú del libro"
 
 [list-desc-books]
-other = "Explore a comprehensive list of FreeBSD books."
+other = "Explore una lista completa de libros de FreeBSD."
 
 # ---------------------------------------------------
 # Languages page
 # ---------------------------------------------------
 [select-language]
-other = "Select a language"
+other = "Seleccionar un idioma"
 
 [current-selection]
-other = "Current selection:"
+other = "Selección actual:"
 
 # ---------------------------------------------------
 # Copyright
diff --git a/documentation/themes/beastie/layouts/index.html b/documentation/themes/beastie/layouts/index.html
index 1f75368e59..2a4dc2cde1 100644
--- a/documentation/themes/beastie/layouts/index.html
+++ b/documentation/themes/beastie/layouts/index.html
@@ -16,7 +16,7 @@
           </a>
         </div>
         <div class="card">
-          <a href={{ printf "%s%s%s" $.Site.Params.websiteURL $language "where" }}>
+          <a href={{ printf "%s%s/%s" $.Site.Params.websiteURL $language "where" }}>
             <h5>{{ i18n "download" }}</h5>
             <p>{{ i18n "download-freebsd" }}</p>
           </a>