The upstream anubis2 theme references hugo.Data.social.social_icons,
but `hugo` is a build-info namespace (hugo.Version, etc.) and has no
.Data field — Hugo errors with "can't evaluate field Data in type
interface {}". Theme data files live under site.Data, so this override
swaps the access path. Submodule left untouched.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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>