Skip to content

Commit

Permalink
⬆️ chore(deps): update demo and CI to Zola v0.19.1 (#345)
Browse files Browse the repository at this point in the history
Co-authored-by: welpo <welpo@users.noreply.github.com>
  • Loading branch information
renovate[bot] and welpo authored Jul 1, 2024
1 parent ced0cb4 commit 6ca5a56
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 33 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
uses: actions/checkout@v4

- name: Zola Build
uses: shalzz/zola-deploy-action@v0.18.0
uses: shalzz/zola-deploy-action@v0.19.1
env:
BUILD_ONLY: true

- name: Zola Check
uses: shalzz/zola-deploy-action@v0.18.0
uses: shalzz/zola-deploy-action@v0.19.1
env:
BUILD_ONLY: true
CHECK_LINKS: true
Expand All @@ -37,7 +37,7 @@ jobs:
uses: actions/checkout@v4

- name: Build and Deploy
uses: shalzz/zola-deploy-action@v0.18.0
uses: shalzz/zola-deploy-action@v0.19.1
env:
PAGES_BRANCH: gh-pages
TOKEN: ${{ secrets.TOKEN }}
Expand Down
7 changes: 4 additions & 3 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ base_url = "https://welpo.github.io/tabi"
title = "~/tabi"
description = "tabi is a fast, lightweight, and modern Zola theme with multi-language support, optional JavaScript, and a perfect Lighthouse score."
author = "welpo"
generate_feed = true
generate_feeds = true
compile_sass = true
minify_html = true
build_search_index = true
Expand Down Expand Up @@ -34,6 +34,7 @@ index_format = "elasticlunr_json"

[markdown]
highlight_code = true
bottom_footnotes = true
# To use a Zola built-in theme, CSP needs to allow unsafe-inline for style-src.
highlight_theme = "css"
smart_punctuation = true
Expand All @@ -50,14 +51,14 @@ skip_anchor_prefixes = [
[languages.es]
title = "~/tabi"
description = "tabi es un tema de Zola rápido, liviano y moderno con JavaScript opcional y una puntuación perfecta en Lighthouse."
generate_feed = true
generate_feeds = true
taxonomies = [{name = "tags", feed = true}]
build_search_index = true

[languages.ca]
title = "~/tabi"
description = "tabi és un tema de Zola ràpid, lleuger i modern amb JavaScript opcional i una puntuació perfecta a Lighthouse."
generate_feed = true
generate_feeds = true
taxonomies = [{name = "tags", feed = true}]

[extra]
Expand Down
3 changes: 0 additions & 3 deletions content/blog/javascript/index.ca.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ description = "JavaScript només s'utilitza quan HTML i CSS no són suficients."
tags = ["funcionalitat", "tutorial"]

[extra]
footnote_backlinks = true
social_media_card = "social_cards/ca_blog_javascript.jpg"
+++

Expand Down Expand Up @@ -42,6 +41,4 @@ Per especificar aquestes opcions:

A part d'això, és un tema ràpid amb HTML i CSS que funciona sense JavaScript. Just com hauria de ser (la majoria de) la web :-)

---

[^1]: Per codificar el teu correu en base64 pots utilitzar [eines en línia](https://www.base64encode.org/) o, al terminal, executa: `printf 'mail@example.com' | base64`.
3 changes: 0 additions & 3 deletions content/blog/javascript/index.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ description = "JavaScript solo se utiliza cuando HTML y CSS no son suficientes."
tags = ["funcionalidad", "tutorial"]

[extra]
footnote_backlinks = true
social_media_card = "social_cards/es_blog_javascript.jpg"
+++

Expand Down Expand Up @@ -42,6 +41,4 @@ Para especificar estas opciones:

Aparte de eso, es un tema rápido con HTML y CSS que funciona con JavaScript deshabilitado. Justo como debería ser (la mayoría de) la web :-)

---

[^1]: Para codificar tu correo electrónico en base64 puedes usar [herramientas en línea](https://www.base64encode.org/) o, en tu terminal, ejecutar: `printf 'mail@example.com' | base64`.
3 changes: 0 additions & 3 deletions content/blog/javascript/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ description = "JavaScript is only used when HTML and CSS aren't enough."
tags = ["showcase", "tutorial"]

[extra]
footnote_backlinks = true
social_media_card = "social_cards/blog_javascript.jpg"
+++

Expand Down Expand Up @@ -42,6 +41,4 @@ To specify these settings:

Other than that, it's a fast theme with HTML and CSS which works with JavaScript disabled. Just the way (most of) the web should be :-)

---

[^1]: To encode your email in base64 you can use [online tools](https://www.base64encode.org/) or, on your terminal, run: `printf 'mail@example.com' | base64`.
3 changes: 0 additions & 3 deletions content/blog/markdown/index.ca.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ tags = ["markdown", "funcionalitat"]

[extra]
katex = true
footnote_backlinks = true
social_media_card = "social_cards/ca_blog_markdown.jpg"
+++

Expand Down Expand Up @@ -70,6 +69,4 @@ A Rust, declares una variable mutable amb `let mut x = 5;`, mentre que a Python,
>
> — Mercè Rodoreda, La plaça del Diamant
<hr>

[^1]: I aquí tens un exemple de nota a peu de pàgina!
3 changes: 0 additions & 3 deletions content/blog/markdown/index.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ tags = ["markdown", "funcionalidad"]

[extra]
katex = true
footnote_backlinks = true
social_media_card = "social_cards/es_blog_markdown.jpg"
+++

Expand Down Expand Up @@ -70,6 +69,4 @@ En Rust, declaras una variable mutable con `let mut x = 5;`, mientras que en Pyt
>
> — Miguel de Unamuno, Niebla
<hr>

[^1]: ¡Y aquí tienes un ejemplo de una nota al pie de página!
3 changes: 0 additions & 3 deletions content/blog/markdown/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ tags = ["markdown", "showcase"]

[extra]
katex = true
footnote_backlinks = true
social_media_card = "social_cards/blog_markdown.jpg"
+++

Expand Down Expand Up @@ -70,6 +69,4 @@ In Rust, you declare a mutable variable with `let mut x = 5;`, whereas in Python
>
> — Charlie Kaufman, Synecdoche, New York
<hr>

[^1]: And here's an example of a footnote!
3 changes: 0 additions & 3 deletions content/blog/mastering-tabi-settings/index.ca.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ description = "Descobreix les múltiples maneres en què pots personalitzar tabi
tags = ["funcionalitat", "tutorial", "preguntes freqüents"]

[extra]
footnote_backlinks = true
quick_navigation_buttons = true
social_media_card = "social_cards/ca_blog_mastering_tabi_settings.jpg"
+++
Expand Down Expand Up @@ -834,8 +833,6 @@ Aquesta opció està habilitada per defecte. Per desactivar-la per una pàgina,

Per a més informació, consulta la [pàgina de documentació de CSP](@/blog/security/index.ca.md).

---

[^1]: Si estàs utilitzant un repositori Git remot, potser voldràs automatitzar el procés d'actualització del camp `updated`. Aquí tens una guia per a això: [Zola Git Hook: actualitzant les dates de les publicacions](https://osc.garden/ca/blog/zola-date-git-hook/).

[^2]: Per a codificar el teu correu electrònic en base64 pots utilitzar [eines en línia](https://www.base64encode.org/) o, al teu terminal, executar: `printf 'mail@example.com' | base64`
3 changes: 0 additions & 3 deletions content/blog/mastering-tabi-settings/index.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ description = "Descubre las múltiples maneras en que puedes personalizar tabi."
tags = ["funcionalidad", "tutorial", "preguntas frecuentes"]

[extra]
footnote_backlinks = true
quick_navigation_buttons = true
social_media_card = "social_cards/es_blog_mastering_tabi_settings.jpg"
+++
Expand Down Expand Up @@ -834,8 +833,6 @@ Esta función está habilitada por defecto. Para deshabilitarla (y permitir todo

Para obtener más información, consulta la [página de documentación de CSP](@/blog/security/index.es.md).

---

[^1]: Si estás utilizando un repositorio Git remoto, es posible que quieras automatizar el proceso de actualización del campo `updated`. Aquí tienes una guía para eso: [Zola Git Hook: actualizando las fechas de las publicaciones](https://osc.garden/es/blog/zola-date-git-hook/).

[^2]: Para codificar tu correo electrónico en base64 puedes utilizar [herramientas en línea](https://www.base64encode.org/) o, en tu terminal, ejecutar: `printf 'mail@example.com' | base64`
3 changes: 0 additions & 3 deletions content/blog/mastering-tabi-settings/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ description = "Discover the many ways you can customise your tabi site."
tags = ["showcase", "tutorial", "FAQ"]

[extra]
footnote_backlinks = true
quick_navigation_buttons = true
social_media_card = "social_cards/blog_mastering_tabi_settings.jpg"
+++
Expand Down Expand Up @@ -840,8 +839,6 @@ This feature is enabled by default. To disable it (and allow all connections), s

See the [CSP documentation page](@/blog/security/index.md) for more information.

---

[^1]: If you're using a remote Git repository, you might want to automate the process of updating the `updated` field. Here's a guide for that: [Zola Git Pre-Commit Hook: Updating Post Dates](https://osc.garden/blog/zola-date-git-hook/).

[^2]: To encode your email in base64 you can use [online tools](https://www.base64encode.org/) or, on your terminal, run: `printf 'mail@example.com' | base64`.

0 comments on commit 6ca5a56

Please sign in to comment.