Commit Graph

3 Commits

Author SHA1 Message Date
53059c2db7 Update custom layouts for Hugo 0.123+ and bump Hugo to 0.151.0
Some checks failed
Deploy / deploy (push) Failing after 5s
site.Language.Locale and .Language.Label were removed from Hugo's
template API in 0.123 / 0.124. The theme already uses the new names;
only our overrides in layouts/ still referenced the old ones.

- layouts/_default/baseof.html: site.Language.Locale -> site.LanguageCode
- layouts/_default/sitemap.xml: .Language.Label -> .Language.LanguageCode
  (hreflang expects a BCP47 code, not a display name)
- layouts/partials/language-switcher.html: .Language.Label -> .Language.LanguageName
  (display name for the switcher UI)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 18:30:15 +02:00
d5605b302e Pin Hugo to 0.121.2 for anubis2 theme compatibility
Some checks failed
Deploy / deploy (push) Failing after 6s
The theme uses site.Locale (removed in 0.123) and .Language.Label
(removed in 0.124). Pinning to 0.121.2, the last pre-deprecation
stable release.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 18:06:47 +02:00
227fbe202c Add Gitea Actions deploy workflow
Some checks failed
Deploy / deploy (push) Failing after 5s
Builds Hugo and writes the output to /srv/www/blog on push to main.
Runs in a node:20-bookworm container with /srv/www bind-mounted from
the shinobi host (allowed via the gitea-runner's valid_volumes config).
Caddy on the host serves /srv/www/blog directly.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 18:01:02 +02:00