blog.thanwer.com Hugo source
Go to file
Thanwer 53059c2db7
Some checks failed
Deploy / deploy (push) Failing after 5s
Update custom layouts for Hugo 0.123+ and bump Hugo to 0.151.0
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
.gitea/workflows Update custom layouts for Hugo 0.123+ and bump Hugo to 0.151.0 2026-05-23 18:30:15 +02:00
archetypes Improve default archetype 2024-10-21 22:49:06 -03:00
content Add checks before deploy to server, also small fixes on content. 2026-05-09 23:05:54 +02:00
layouts Update custom layouts for Hugo 0.123+ and bump Hugo to 0.151.0 2026-05-23 18:30:15 +02:00
static Add checks before deploy to server, also small fixes on content. 2026-05-09 23:05:54 +02:00
themes Multiple small fixes and upgrades 2026-05-09 22:34:02 +02:00
.cspell.config.yaml Update AGENTS.md with new information 2026-05-09 23:09:44 +02:00
.gitignore Add .DS_Store git ignore... 2024-10-19 23:38:21 -03:00
.gitmodules Initial commit 2024-10-19 22:09:43 -03:00
.hugo_build.lock Initial commit 2024-10-19 22:09:43 -03:00
.lychee.toml Add checks before deploy to server, also small fixes on content. 2026-05-09 23:05:54 +02:00
.lycheeignore Add checks before deploy to server, also small fixes on content. 2026-05-09 23:05:54 +02:00
.markdownlint-cli2.yaml Add checks before deploy to server, also small fixes on content. 2026-05-09 23:05:54 +02:00
.markdownlintrc Add checks before deploy to server, also small fixes on content. 2026-05-09 23:05:54 +02:00
.pre-commit-config.yaml Add checks before deploy to server, also small fixes on content. 2026-05-09 23:05:54 +02:00
AGENTS.md Update AGENTS.md with new information 2026-05-09 23:09:44 +02:00
deploy.sh Add checks before deploy to server, also small fixes on content. 2026-05-09 23:05:54 +02:00
hugo.toml Multiple small fixes and upgrades 2026-05-09 22:34:02 +02:00