Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove examples of LanguageCode fallback #2567

Merged
merged 1 commit into from
May 10, 2024

Conversation

jmooring
Copy link
Member

With v0.112.0 and later the .Language.LanguageCode methods on Page and Site fallback to .Language.Lang, so falling back in a template is superfluous.

With v0.112.0 and later the .Language.LanguageCode methods on Page and
Site fallback to .Language.Lang, so falling back in a template is
superfluous.
@jmooring jmooring force-pushed the fix/languagecode-fallbacks-2565 branch from 867b4bc to faa2f96 Compare May 10, 2024 12:09
@jmooring jmooring merged commit fc59e1f into gohugoio:master May 10, 2024
5 checks passed
@jmooring jmooring deleted the fix/languagecode-fallbacks-2565 branch May 10, 2024 12:10
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.

1 participant