Merge pull request #2866 from EricGusmao/fix/hugo-v0.158.0-deprecations

fix: migrate deprecated Hugo v0.158.0 language API
This commit is contained in:
Nuno C. authored and GitHub committed 2026-04-13 22:40:39 +01:00
commit a57db858b4
16 files changed
+27 -27

No files matched your search

+1 -1
View File
@@ -123,7 +123,7 @@
{{ end }}
{{ $finalLink := $taxonomyLink }}
{{ $currentLang := site.Language.Lang }}
{{ $currentLang := site.Language.Name }}
{{ if eq site.LanguagePrefix "" }}
{{ $finalLink = printf "%sauthors/%s/" $baseURL $author }}
{{ else }}