Pin Hugo to a deliberate, hash-verified v0.164.0 and switch hugo.toml to locale (closes #26, closes #18) #27

Merged
clawbot merged 4 commits from 26-hugo-deliberate-version into main 2026-08-09 17:18:08 +02:00
2 changed files with 12 additions and 1 deletions
Showing only changes of commit 916f978485 - Show all commits

11
TODO.md
View File

@@ -27,6 +27,17 @@ Update `README.md` accordingly.
# Completed Steps
- 2026-08-09: replaced `hugo.toml`'s deprecated `languageCode` key with `locale`
(closes #18). Hugo deprecated `languageCode` in v0.158.0, so the Hugo pinned
in the preceding commit warns about it; left alone it would become a third
routinely-ignored warning, and a latent breakage when the key is removed.
Deliberately sequenced **after** the Hugo version move and in the same branch:
under the apk hugo 0.139.0 that CI ran until now, `locale` is an unknown key
that is silently ignored, which downgrades the generated RSS from
`<language>en-us</language>` to `<language>en</language>` with no warning and
exit 0. Verified on hugo v0.164.0 that the RSS `<language>` still reads
`en-us`, the `lang` attribute is unchanged, and `public/` is byte-identical to
the preceding commit's output
- 2026-08-09: installed Hugo at a deliberate, hash-verified version instead of
taking whatever alpine ships (closes #26). `script/bootstrap` no longer does
`pkg_install hugo`; it installs `github.com/gohugoio/hugo@v0.164.0` with

View File

@@ -1,5 +1,5 @@
baseURL = 'https://lora.vegas/'
languageCode = 'en-us'
locale = 'en-us'
title = 'LoRa Vegas — Las Vegas Meshtastic Community'
theme = 'loravega'