Skip to content

Fix #711: change .Site.LanguageCode to .Site.Language.Locale#712

Open
kreczko wants to merge 2 commits into
scientific-python:mainfrom
kreczko:kreczko-issue-711
Open

Fix #711: change .Site.LanguageCode to .Site.Language.Locale#712
kreczko wants to merge 2 commits into
scientific-python:mainfrom
kreczko:kreczko-issue-711

Conversation

@kreczko

@kreczko kreczko commented Jul 23, 2026

Copy link
Copy Markdown

This PR fixes #711 by replacing the deprecated .Site.LanguageCode to with .Site.Language.Locale (see hugo docs)

@netlify

netlify Bot commented Jul 23, 2026

Copy link
Copy Markdown

Deploy Preview for scientific-python-hugo-theme failed.

Built without sensitive environment variables

Name Link
🔨 Latest commit badce9c
🔍 Latest deploy log https://app.netlify.com/projects/scientific-python-hugo-theme/deploys/6a62355c18e2790008aaae15

@kreczko

kreczko commented Jul 23, 2026

Copy link
Copy Markdown
Author

Note: Current deploy uses hugo 0.152, while the requirement for this change is at least 0.158 (latest is 0.164)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.Site.LanguageCode was deprecated in Hugo v0.158.0

1 participant