Skip to content

Commit

Permalink
use description instead of inline <!-- more --> tag
Browse files Browse the repository at this point in the history
Bug (or feature removed) introduced in 0.19: getzola/zola#2562
  • Loading branch information
welpo committed Jul 2, 2024
1 parent cee0048 commit 01a79b3
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion content/blog/updating-site-with-webhook/index.ca.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title = "Automatitzant l'actualització de la meva web amb un webhook"
date = 2023-08-28
updated = 2023-12-02
description= "Com que els fitxers d'aquesta web estan a GitHub, vaig pensar que seria bona idea actualitzar-la automàticament amb cada canvi al repositori."

[taxonomies]
tags = ["aprenentatge del dia", "Zola", "automatització"]
Expand All @@ -11,7 +12,7 @@ copy_button = true
social_media_card = "img/social_cards/ca_blog_updating_site_with_webhook.jpg"
+++

Com que els fitxers d'aquesta web estan a [GitHub](https://github.com/welpo/osc.garden/), vaig pensar que seria bona idea actualitzar-la automàticament amb cada canvi al repositori.<!-- more -->
Com que els fitxers d'aquesta web estan a [GitHub](https://github.com/welpo/osc.garden/), vaig pensar que seria bona idea actualitzar-la automàticament amb cada canvi al repositori.

## El meu sistema

Expand Down
3 changes: 2 additions & 1 deletion content/blog/updating-site-with-webhook/index.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title = "Automatizando la actualización de mi web con un webhook"
date = 2023-08-28
updated = 2023-12-02
description = "Como los archivos de esta web están en GitHub, pensé que sería buena idea actualizarla automáticamente con cada cambio en el repositorio."

[taxonomies]
tags = ["aprendizaje del día", "Zola", "automatización"]
Expand All @@ -11,7 +12,7 @@ copy_button = true
social_media_card = "img/social_cards/es_blog_updating_site_with_webhook.jpg"
+++

Como los archivos de esta web están en [GitHub](https://github.com/welpo/osc.garden/), pensé que sería buena idea actualizarla automáticamente con cada cambio en el repositorio.<!-- more -->
Como los archivos de esta web están en [GitHub](https://github.com/welpo/osc.garden/), pensé que sería buena idea actualizarla automáticamente con cada cambio en el repositorio.

## Mi sistema

Expand Down
3 changes: 2 additions & 1 deletion content/blog/updating-site-with-webhook/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title = "Automatically Updating My Zola Site Using a Webhook"
date = 2023-08-28
updated = 2023-12-02
description = "Since this site's files are on GitHub, I thought it would be a nice idea to automatically update it whenever the repository is modified."

[taxonomies]
tags = ["TIL", "automation", "Zola"]
Expand All @@ -11,7 +12,7 @@ copy_button = true
social_media_card = "img/social_cards/blog_updating_site_with_webhook.jpg"
+++

Since this site's files are on [GitHub](https://github.com/welpo/osc.garden/), I thought it would be a nice idea to automatically update it whenever the repository is modified.<!-- more -->
Since this site's files are on [GitHub](https://github.com/welpo/osc.garden/), I thought it would be a nice idea to automatically update it whenever the repository is modified.

## My Setup

Expand Down
3 changes: 2 additions & 1 deletion content/blog/zola-date-git-hook/index.ca.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title = "Zola Git Hook: actualitzant les dates de les publicacions"
date = 2023-04-17
updated = 2023-08-30
description = "Per tal de mantenir l'atribut «Última actualització» de les publicacions sempre precís, he automatitzat la seva modificació amb un hook pre-commit de Git."

[taxonomies]
tags = ["aprenentatge del dia", "Zola", "automatització", "Git"]
Expand All @@ -11,7 +12,7 @@ copy_button = true
social_media_card = "img/social_cards/ca_blog_zola_date_git_hook.jpg"
+++

Per tal de mantenir l'atribut «Última actualització» de les publicacions sempre precís, he automatitzat la seva modificació amb un hook pre-commit de Git.<!-- more -->
Per tal de mantenir l'atribut «Última actualització» de les publicacions sempre precís, he automatitzat la seva modificació amb un hook pre-commit de Git.

Un hook (ganxo) pre-commit de Git és un script que s'executa automàticament abans de cada commit. Pot realitzar accions personalitzades com validar el codi, executar proves o, en aquest cas, actualitzar les dates de les publicacions.

Expand Down
3 changes: 2 additions & 1 deletion content/blog/zola-date-git-hook/index.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title = "Zola Git Hook: actualizando las fechas de las publicaciones"
date = 2023-04-17
updated = 2023-08-30
description = "Para que el campo «Última actualización» de las entradas sea siempre preciso, he automatizado su modificación con un hook Git pre-commit."

[taxonomies]
tags = ["aprendizaje del día", "Zola", "automatización", "Git" ]
Expand All @@ -11,7 +12,7 @@ copy_button = true
social_media_card = "img/social_cards/es_blog_zola_date_git_hook.jpg"
+++

Para que el campo «Última actualización» de las entradas sea siempre preciso, he automatizado su modificación con un hook Git pre-commit.<!-- more -->
Para que el campo «Última actualización» de las entradas sea siempre preciso, he automatizado su modificación con un hook Git pre-commit.

Un hook (gancho) Git pre-commit es un script que se ejecuta automáticamente antes de cada commit. Puede realizar acciones personalizadas, como validar código, ejecutar pruebas o, en este caso, actualizar fechas de publicación.

Expand Down
3 changes: 2 additions & 1 deletion content/blog/zola-date-git-hook/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title = "Zola Git Pre-Commit Hook: Updating Post Dates"
date = 2023-04-17
updated = 2023-08-30
description = "In order to keep the 'Last updated' field of posts always accurate, I automated its modification with a custom Git pre-commit hook."

[taxonomies]
tags = ["TIL", "Zola", "automation", "Git"]
Expand All @@ -11,7 +12,7 @@ copy_button = true
social_media_card = "img/social_cards/blog_zola_date_git_hook.jpg"
+++

In order to keep the "Last updated" field of posts always accurate, I automated its modification with a custom Git pre-commit hook.<!-- more -->
In order to keep the "Last updated" field of posts always accurate, I automated its modification with a custom Git pre-commit hook.

A Git pre-commit hook is a script that runs automatically before each commit. It can perform custom actions, such as validating code, running tests, or, in this case, updating post dates.

Expand Down

0 comments on commit 01a79b3

Please sign in to comment.