Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo

hugo
Jacky Zhao 2 years ago
commit 9b72edcd9c

@ -27,7 +27,7 @@ function initPopover(baseURL, useContextualBacklinks, renderLatex) {
let splitLink = li.href.split("#") let splitLink = li.href.split("#")
let cleanedContent = removeMarkdown(linkDest.content) let cleanedContent = removeMarkdown(linkDest.content)
if (splitLink.length > 1) { 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>") let headingIndex = cleanedContent.toLowerCase().indexOf("<b>" + headingName + "</b>")
cleanedContent = cleanedContent.substring(headingIndex, cleanedContent.length) cleanedContent = cleanedContent.substring(headingIndex, cleanedContent.length)
} }

@ -588,7 +588,7 @@ header {
margin: 0.25rem 0; margin: 0.25rem 0;
} }
& > .meta { & .meta {
margin-top: 0.25rem; margin-top: 0.25rem;
opacity: 0.5; opacity: 0.5;
font-family: var(--font-mono); font-family: var(--font-mono);

@ -17,7 +17,7 @@ $$f(x) = \int_{-\infty}^\infty
f\hat(\xi),e^{2 \pi i \xi x} f\hat(\xi),e^{2 \pi i \xi x}
\,d\xi$$ \,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: Aligned equations work quite well:

@ -17,5 +17,6 @@ Want to see what Quartz can do? Here are some cool community gardens :)
- [Data Dictionary 🧠](https://glossary.airbyte.com/) - [Data Dictionary 🧠](https://glossary.airbyte.com/)
- [sspaeti.com's Second Brain](https://brain.sspaeti.com/) - [sspaeti.com's Second Brain](https://brain.sspaeti.com/)
- [oldwinterの数字花园](https://garden.oldwinter.top/) - [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)! 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)!

@ -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 }}"
Loading…
Cancel
Save