mirror of https://github.com/lxndrblz/anatole.git

Markus Bilz
4 days ago 7e2dfa693bb7b3cc2a834db3ce26b82d850b1c59
refs
author Markus Bilz <github@markusbilz.com>
Sunday, July 12, 2026 13:56 +0200
committer GitHub <noreply@github.com>
Sunday, July 12, 2026 13:56 +0200
commit7e2dfa693bb7b3cc2a834db3ce26b82d850b1c59
tree a62d39c7ba845f6590aa8db7956182a7d6cb7c50 tree | zip | gz
parent 92f86416d13bd3122d14c71888648919be354c8b view | diff
chore: fix hugo deprecation warnings (hugo 0.158.0) (#589)

- Bump Hugo version to 0.158.0 in CI and Netlify
- Replace deprecated `languageCode` with `locale` in config
- Replace deprecated `LanguageDirection` with `Direction` in config and templates
- Replace deprecated `.Site.LanguageCode` with `.Site.Language.Locale` in rss.xml and schema.html

---------

Co-authored-by: Alexander Bilz <mail@alexbilz.com>
8 files modified
18 ■■■■ changed files
.github/workflows/update-resources.yml 2 ●●● diff | view | raw | blame | history
exampleSite/config/_default/hugo.toml 2 ●●● diff | view | raw | blame | history
exampleSite/config/_default/languages.toml 2 ●●● diff | view | raw | blame | history
layouts/_default/baseof.html 2 ●●● diff | view | raw | blame | history
layouts/_default/rss.xml 2 ●●● diff | view | raw | blame | history
layouts/partials/head.html 4 ●●●● diff | view | raw | blame | history
layouts/partials/schema.html 2 ●●● diff | view | raw | blame | history
netlify.toml 2 ●●● diff | view | raw | blame | history