From 9b72edcd9cce10d6064e4e8b2f61b7db2966515d Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 25 Oct 2022 20:14:13 +0000
Subject: [PATCH] Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo
---
content/notes/CJK + Latex Support (测试).md | 4 +-
assets/styles/base.scss | 2
content/notes/showcase.md | 1
assets/js/popover.js | 2
i18n/es.toml | 65 ++++++++++++++++++++++++++++++++
5 files changed, 70 insertions(+), 4 deletions(-)
diff --git a/assets/js/popover.js b/assets/js/popover.js
index 3d7a30c..29104b9 100644
--- a/assets/js/popover.js
+++ b/assets/js/popover.js
@@ -27,7 +27,7 @@
let splitLink = li.href.split("#")
let cleanedContent = removeMarkdown(linkDest.content)
if (splitLink.length > 1) {
- let headingName = splitLink[1].replace(/\-/g, " ")
+ let headingName = decodeURIComponent(splitLink[1]).replace(/\-/g, " ")
let headingIndex = cleanedContent.toLowerCase().indexOf("<b>" + headingName + "</b>")
cleanedContent = cleanedContent.substring(headingIndex, cleanedContent.length)
}
diff --git a/assets/styles/base.scss b/assets/styles/base.scss
index 5eaf6c4..8bd97ef 100644
--- a/assets/styles/base.scss
+++ b/assets/styles/base.scss
@@ -588,7 +588,7 @@
margin: 0.25rem 0;
}
- & > .meta {
+ & .meta {
margin-top: 0.25rem;
opacity: 0.5;
font-family: var(--font-mono);
diff --git "a/content/notes/CJK + Latex Support \050\346\265\213\350\257\225\051.md" "b/content/notes/CJK + Latex Support \050\346\265\213\350\257\225\051.md"
index c2d6f84..0f9afc2 100644
--- "a/content/notes/CJK + Latex Support \050\346\265\213\350\257\225\051.md"
+++ "b/content/notes/CJK + Latex Support \050\346\265\213\350\257\225\051.md"
@@ -17,7 +17,7 @@
f\hat(\xi),e^{2 \pi i \xi x}
\,d\xi$$
-Inline math also works with single dollar signs `$...$`. For example, Euler's identity but inline: $e^{i\pi} = 0$
+Inline math also works with single dollar signs `$...$`. For example, Euler's identity but inline: $e^{i\pi} = -1$
Aligned equations work quite well:
@@ -37,4 +37,4 @@
$$
## RTL
-More information on configuring RTL languages like Arabic in the [config](notes/config.md) page.
\ No newline at end of file
+More information on configuring RTL languages like Arabic in the [config](notes/config.md) page.
diff --git a/content/notes/showcase.md b/content/notes/showcase.md
index a611955..837b84a 100644
--- a/content/notes/showcase.md
+++ b/content/notes/showcase.md
@@ -17,5 +17,6 @@
- [Data Dictionary 🧠](https://glossary.airbyte.com/)
- [sspaeti.com's Second Brain](https://brain.sspaeti.com/)
- [oldwinterの数字花园](https://garden.oldwinter.top/)
+- [SethMB Work](https://sethmb.xyz/)
If you want to see your own on here, submit a [Pull Request adding yourself to this file](https://github.com/jackyzha0/quartz/blob/hugo/content/notes/showcase.md)!
diff --git a/i18n/es.toml b/i18n/es.toml
new file mode 100644
index 0000000..2effa23
--- /dev/null
+++ b/i18n/es.toml
@@ -0,0 +1,65 @@
+[404_message]
+other = "Hey! Te ves un poco perdido. Esta página no existe (o puede que sea privada)."
+
+[404_back]
+other = "↳ Vamos a llevarte de regreso a casa."
+
+[all_posts]
+other = "Todos {{.Title}}"
+
+[last_updated]
+other = "Actualizado por última vez"
+
+[notes_count]
+other = "notas con esta etiqueta"
+
+[first_10]
+other = "mostrando los primeros 10 resultados"
+
+[tag]
+other = "Etiqueta"
+
+[backlinks]
+other = "Backlinks"
+
+[no_backlinks]
+other = "No se encontraron backlinks"
+
+[home]
+other = "Casa"
+
+[light_mode]
+other = "Modo Claro"
+
+[dark_mode]
+other = "Modo Oscuro"
+
+[edit_source]
+other = "Editar Fuente"
+
+[interactive_graph]
+other = "Gráfico Interactivo"
+
+[search]
+other = "Búsqueda"
+
+[search_icon]
+other = "Ícono de Búsqueda"
+
+[icon_search]
+other = "Ícono para abrir la búsqueda"
+
+[recent_notes]
+other = "Notas Recientes"
+
+[first_3_notes]
+other = "primeras 3 {{ .notes }}"
+
+[search_for_something]
+other = "Buscar algo..."
+
+[toc]
+other = "Tabla de Contenido"
+
+[copyright]
+other = "Hecho por {{ .name }} usando <a href=\"https://github.com/jackyzha0/quartz\">Quartz</a>, © {{ .year }}"
--
Gitblit v1.10.0