Compare commits
2 Commits
f9a2f21647
...
3c2d07c7d4
Author | SHA1 | Date | |
---|---|---|---|
3c2d07c7d4 | |||
308f4008b5 |
@ -69,7 +69,6 @@ function has_body_changes() {
|
||||
# Function to update the social media card for a post or section.
|
||||
function generate_and_commit_card {
|
||||
local file=$1
|
||||
echo "Generating social media card for $file"
|
||||
social_media_card=$(./static/code/social-cards-zola -o static/img/social_cards -b http://127.0.0.1:1111 -u -p -i "$file") || {
|
||||
echo "Failed to update social media card for $file"
|
||||
exit 1
|
||||
@ -178,7 +177,6 @@ done
|
||||
# See https://osc.garden/blog/automating-social-media-cards-zola/ for context.
|
||||
changed_md_files=$(echo "$all_changed_files" | grep '\.md$')
|
||||
# Use parallel to create the social media cards in parallel and commit them.
|
||||
echo "processing $changed_md_files out of $all_changed_files"
|
||||
if [[ -n "$changed_md_files" ]]; then
|
||||
echo "$changed_md_files" | parallel -j 8 generate_and_commit_card
|
||||
fi
|
||||
|
@ -1,14 +1,10 @@
|
||||
+++
|
||||
title = "Expedition to Peru"
|
||||
description = "A mountaineering expedition to the Cordillera Blanca in Peru."
|
||||
title = "Chronicles of an Expedition to Peru"
|
||||
description = ""
|
||||
date = 2018-07-05
|
||||
updated = 2025-03-12
|
||||
|
||||
[taxonomies]
|
||||
tags = ["alpinism", "expeditions"]
|
||||
|
||||
[extra]
|
||||
social_media_card = "img/social_cards/blog_expedition_to_peru.jpg"
|
||||
+++
|
||||
|
||||
Nuestro vuelo salió de México el miércoles. Hicimos una escala de unas dos horas en el aeropuerto de
|
||||
@ -61,15 +57,15 @@ si quería tener derecho a cena.
|
||||
Es buen momento para aclarar nuestro plan. El itinerario pactado con Nehemio quedó así:
|
||||
|
||||
1. Huaraz - Llamacorral
|
||||
2. Llamacorral - Campo base del Alpamayo
|
||||
3. Campo base - Campo alto
|
||||
4. Campo alto - Cumbre del Alpamayo - Campo Alto
|
||||
5. Campo alto - Cumbre del Quitaraju - Campo Alto
|
||||
6. Campo alto - Campo base
|
||||
7. Campo base - Campo base del Artesonraju
|
||||
8. Campo base de Artesonraju - Campo morrena
|
||||
9. Campo morrena - Cumbre del Artesonraju - Campo base
|
||||
10. Campo base - Huaraz
|
||||
1. Llamacorral - Campo base del Alpamayo
|
||||
1. Campo base - Campo alto
|
||||
1. Campo alto - Cumbre del Alpamayo - Campo Alto
|
||||
1. Campo alto - Cumbre del Quitaraju - Campo Alto
|
||||
1. Campo alto - Campo base
|
||||
1. Campo base - Campo base del Artesonraju
|
||||
1. Campo base de Artesonraju - Campo morrena
|
||||
1. Campo morrena - Cumbre del Artesonraju - Campo base
|
||||
1. Campo base - Huaraz
|
||||
|
||||
Estando en el campo base del Alpamayo, nos enteramos de que el Alpamayo tenía, sobre la canaleta de
|
||||
la ruta, unas cornisas enormes que podían caer en cualquier momento y convertirse en una avalancha
|
||||
|
@ -6,9 +6,6 @@ updated = 2025-03-12
|
||||
|
||||
[taxonomies]
|
||||
tags = ["Infrastructure", "Automation", "Quality"]
|
||||
|
||||
[extra]
|
||||
social_media_card = "img/social_cards/blog_infrastructure_as_code.jpg"
|
||||
+++
|
||||
|
||||
# Introduction
|
||||
@ -72,10 +69,8 @@ it. On the other hand, provisioning it through code will make the process reusab
|
||||
this server as code, is the better approach. Defining everything as code enables you to leverage speed to improve quality, much like Agile
|
||||
uses speed to improve software quality by having tight feedback loops and iterating on that feedback.
|
||||
|
||||
Infrastructure code can use declarative or imperative languages[^2].
|
||||
|
||||
[^2]: Imperative code is a set of instructions that specifies how to make a thing happen. Declarative code specifies what you want, without
|
||||
specifying how to make it happen.
|
||||
Infrastructure code can use declarative or imperative
|
||||
languages[^2: "Imperative code is a set of instructions that specifies how to make a thing happen. Declarative code specifies what you want, without specifying how to make it happen."].
|
||||
|
||||
# Infrastructure stacks
|
||||
|
||||
|
@ -6,9 +6,6 @@ updated = 2025-03-12
|
||||
|
||||
[taxonomies]
|
||||
tags = ["Self-Hosting", "CI/CD", "Linux", "Gitea", "Go"]
|
||||
|
||||
[extra]
|
||||
social_media_card = "img/social_cards/blog_gitea_open_source_github_alternative.jpg"
|
||||
+++
|
||||
|
||||
## Introduction
|
||||
|
@ -1,5 +1,5 @@
|
||||
+++
|
||||
title = "Self-Hosting a Blog in 2025"
|
||||
title = "Self-Hosting a Website in 2025"
|
||||
description = "A step-by-step guide to hosting your own website using Zola, Caddy, and Gitea."
|
||||
date = 2025-03-12
|
||||
updated = 2025-03-12
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 71 KiB |
Binary file not shown.
Before Width: | Height: | Size: 48 KiB |
Binary file not shown.
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
Loading…
x
Reference in New Issue
Block a user