-
-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🌐 Complete Spanish translation of exampleSite
🌐 Add translation for mathematical-notation sample to spanish 🌐 Add translation for placeholder-text sample to spanish 🌐 Add translation for rich-content sample to spanish
- Loading branch information
1 parent
d1a8547
commit d808b3d
Showing
3 changed files
with
122 additions
and
0 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
exampleSite/content/samples/mathematical-notation/index.es.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
title: Notación matemática | ||
date: 2019-03-08 | ||
description: Una breve muestra de notación matemática en Congo. | ||
tags: ["sample", "katex", "maths", "shortcodes"] | ||
--- | ||
|
||
Una breve muestra de notación matemática en Congo. | ||
|
||
<!--more--> | ||
|
||
{{< katex >}} | ||
|
||
Congo solo incluirá los assets de KaTeX en su proyecto si utiliza notación matemática. Para que esto funcione, simplemente incluya el [`katex` shortcode]({{< ref path="docs/shortcodes#katex" lang="en" >}}) dentro del artículo. Cualquier sintaxis de KaTeX en esa página se renderizará automáticamente. | ||
|
||
Utilice la documentación en línea de [funciones TeX admitidas](https://katex.org/docs/supported.html) para conocer la sintaxis disponible. | ||
|
||
## Notación en línea | ||
|
||
La notación en línea se puede generar envolviendo la expresión en los delimitadores `\\(` y `\\)`. | ||
|
||
**Ejemplo:** | ||
|
||
```tex | ||
% KaTeX notación en línea | ||
Notación en línea: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) | ||
``` | ||
|
||
Notación en línea: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) | ||
|
||
## Notación en bloque | ||
|
||
Alternativamente, la notación en bloque se puede generar usando delimitadores `$$`. Esto generará la expresión en su propio bloque HTML. | ||
|
||
**Ejemplo:** | ||
|
||
```tex | ||
% KaTeX notación en bloque | ||
$$ | ||
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } | ||
$$ | ||
``` | ||
|
||
$$ | ||
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } | ||
$$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
title: "Placeholder Text" | ||
date: "2019-03-09" | ||
lastmod: "2022-01-24" | ||
draft: true | ||
description: "Lorem Ipsum Dolor Si Amet" | ||
tags: ["markdown", "text", "sample", "latin"] | ||
showDateUpdated: true | ||
xml: false | ||
--- | ||
|
||
Lorem est tota propiore conpellat pectoribus de pectora summo. <!--more-->Redit teque digerit hominumque toris verebor lumina non cervice subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum. | ||
|
||
1. Exierant elisi ambit vivere dedere | ||
2. Duce pollice | ||
3. Eris modo | ||
4. Spargitque ferrea quos palude | ||
|
||
Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis. | ||
|
||
1. Comas hunc haec pietate fetum procerum dixit | ||
2. Post torum vates letum Tiresia | ||
3. Flumen querellas | ||
4. Arcanaque montibus omnes | ||
5. Quidem et | ||
|
||
## Vagus elidunt | ||
|
||
<svg xmlns="http://www.w3.org/2000/svg" overflow="visible" viewBox="0 0 496 373" height="186" width="248"><g fill="none"><path stroke="#000" stroke-width="2" d="M.599 372.348L495.263 1.206M.312.633l494.95 370.853M.312 372.633L247.643.92M248.502.92l246.76 370.566M330.828 123.869V1.134M330.396 1.134L165.104 124.515"></path><path stroke="#ED1C24" stroke-width="2" d="M275.73 41.616h166.224v249.05H275.73zM54.478 41.616h166.225v249.052H54.478z"></path><path stroke="#000" stroke-width="2" d="M.479.375h495v372h-495zM247.979.875v372"></path><ellipse cx="498.729" cy="177.625" rx="2" ry="1.25"></ellipse><ellipse cx="247.229" cy="377.375" rx="2" ry="1.25"></ellipse></g></svg> | ||
|
||
[The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon) | ||
|
||
### Mane refeci capiebant unda mulcebat | ||
|
||
Victa caducifer, malo vulnere contra dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. **Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis. | ||
|
||
Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae vulnus haerentia iuste et exercebat, sui et. | ||
|
||
Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, _oculos nomen_ non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem Propoetides **parte**. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
title: "Contenido enriquecido" | ||
date: 2019-03-10 | ||
description: "Una breve descripción de los shortcuts de Hugo" | ||
summary: "Este es un _ejemplo_ de un resumen de contenido **enriquecido**." | ||
coverAlt: "Una imagen de portada de ejemplo que muestra logos de algunas redes sociales populares." | ||
coverCaption: "Este es un ejemplo de pie de foto para una portada." | ||
tags: ["shortcodes", "privacy", "sample", "gist", "twitter", "youtube", "vimeo"] | ||
--- | ||
|
||
Hugo viene con varios [shortcuts integrados](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) para hacer contenido enriquecido, junto con una [configuración de privacidad](https://gohugo.io/about/hugo-and-gdpr/) y un conjunto de _shortcuts simples_ que permiten incrustar versiones estáticas y sin Javascript de varias redes sociales. | ||
|
||
## YouTube | ||
|
||
A continuación, se muestra un ejemplo que utiliza el shortcut integrado `youtube`. | ||
|
||
{{< youtube ZJthWmvUzzc >}} | ||
|
||
|
||
Este ejemplo usa el shortcode `twitter_simple` para generar un Tweet. Requiere dos parámetros por nombre: `usuario` e `id`. | ||
|
||
{{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}} | ||
|
||
Alternativamente, el shortcut `tweet` se puede usar para incrustar una tarjeta completa de Twitter. | ||
|
||
## Gist | ||
|
||
El shortcode `gist` se puede usar para incrustar un GitHub Gist. Requiere dos parámetros por posición: el nombre de usuario y el ID del Gist. | ||
|
||
{{< gist jpanther a873e1219ffeaa80a926bbe8255f348e >}} | ||
|
||
## Vimeo | ||
|
||
El shortcode `vimeo_simple` insertará un video de Vimeo. | ||
|
||
{{< vimeo_simple 48912912 >}} |